An earthquake with a magnitude of 6.3 hit near Cilacap in Central Java on Tuesday, the Indonesian earthquake monitoring agency said, adding that no tsunami warning had been issued.

An official at the agency said the centre of the quake was offshore and he estimated there would not be much damage.