An earthquake has struck the main Indonesian island of Java, leaving more than 40 people dead and hundreds injured, say local officials. The 5.6 magnitude quake struck Cianjur town in West Java, at a shallow depth of 10km (6 miles), according to US Geological Survey data.