An ‍earthquake ‌of ​5.7 magnitude struck near ‌the Indonesian ‌island of Java ⁠on Tuesday at a depth of ‌138 kilometres, the ‌European-Mediterranean ​Seismological Centre reported.