An earthquake of magnitude 6.2 struck Java, Indonesia, on Saturday, the German Research Center for Geosciences (GFZ) said. The quake was at a depth of 376 km (234 mile) GFZ said.