locked
java/lang/Object.class): major version 52 is newer than 51, the highest major version supported... RRS feed

  • Question

  • User237605 posted

    While making my map application I faced this error: java/lang/Object.class): major version 52 is newer than 51, the highest major version supported by this compiler. I think that it's a problem with the JDK but i am not sure what to do.

    Thursday, July 14, 2016 3:47 PM

All replies

  • User111009 posted

    That error is telling you that the Java Class version that is being loaded was compiled with Java 8 (52) but Java 7 (51) is trying to load that compiled class.

    Java 7 uses major version 51 Java 8 uses major version 52 Check which Java version(s) are installed on your machine and review Xamarin's requirements and Java installation steps (linked below)

    [https://developer.xamarin.com/guides/android/gettingstarted/installation/windows/manualinstallation/#InstallingtheJavaSDKJDK]

    Thursday, July 14, 2016 4:22 PM