West Java Governor Ridwan Kamil said at a news conference that 326 people have also been hurt, in different ways. The United States Geological Survey (USGS) says the quake hit the Cianjur area of West Java on Monday at a depth of 10 kilometers (6.2 miles) (USGS).
Because of the earthquake, 13,782 people have been forced to leave their homes. They will all stay in one of 14 refugee camps. Damage has been done to at least 2,345 homes.
The local office of the National Agency for Disaster Management (BNPB) said that four schools and 52 homes either fell down or were badly damaged. The agency says that a mosque and a hospital were also hurt. Reuters said that the BNPB said there is no chance of a tsunami.
A government official in Cianjur, Herman Suherman, told the media that some people were stuck in the rubble of buildings that had fallen down. Metro TV showed what looked like hundreds of people getting help in a hospital parking lot.
It also said that an Islamic boarding school had been damaged and those power outages had made it hard to talk to people. Reuters said that TV footage showed people huddling outside almost completely destroyed buildings.
One person, who only gave his name as "Muchlis," said he felt "a huge tremor" and that his office's walls and ceiling were damaged.
Muchlis told Metro TV:
I was very shocked. I worried there would be another quake.- Muchlis
The BMKG said that there was a risk of landslides, especially if it rained hard because there were 25 aftershocks in the two hours after the earthquake.
Governor Kamil said earlier at a news conference that the number of deaths is likely to go up even more.
Kamil said earlier on Monday:
There are still many residents trapped at the incident sites, we assume that the injured and dead victims will continue to increase over time.- West Java Governor Ridwan Kamil
He said that rescuers can't reach some of the people who are stuck and that the situation is still chaotic and more aftershocks could happen.
Kamil said that the government is building tents and shelters for the victims and taking care of their basic needs at the same time.
Indonesia is on the "Ring of Fire," a band that goes around the Pacific Ocean and causes a lot of earthquakes and volcanoes. It goes from Japan and Indonesia on one side of the Pacific to California and South America on the other. It is one of the most seismically active places on Earth.
In 2004, a 9.1 magnitude earthquake off Sumatra island in northern Indonesia caused a tsunami that hit 14 countries and killed 226,000 people along the Indian Ocean coast, with more than half of them in Indonesia.