Reverted to java compilance 1.6 (because of Android)