Jakarta: Indonesia`s earthquake agency lifted a tsunami warning after a quake struck early on Monday at about 300 kilometres (186 miles) off Cilacap in southern Java.
The agency, which said the quake was at a depth of 10 kilometres, could not give any immediate reports of damage.
"In Cilacap people were panicking -- most of them are evacuating to higher ground," said spokesman Soeharjono.
Indonesia, on the Pacific "rim of fire" and prone to earthquakes, saw one person killed after eastern province Papua was struck by the tsunami last month that devastated Japan`s northeast coast.
State energy firm Pertamina said its 348,000 barrels per day refinery in Cilacap was not damaged by the earthquake and production was running normally. A spokesman said the plant was still battling a fire that broke out on Saturday at storage tanks.