Compiling with JDK 6 to avoid problems in Android