java.lang.UnsupportedClassVersionError: com/google/appengine/tools/development/agent/AppEngineDevAgent : Unsupported major.minor version 51.0 -


while trying run gwt project,it got errors below

java.lang.unsupportedclassversionerror: com/google/appengine/tools/development/agent/appenginedevagent : unsupported major.minor version 51.0 @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(classloader.java:621) @ java.security.secureclassloader.defineclass(secureclassloader.java:124) @ java.net.urlclassloader.defineclass(urlclassloader.java:260) @ java.net.urlclassloader.access$000(urlclassloader.java:56) @ java.net.urlclassloader$1.run(urlclassloader.java:195) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:188) @ java.lang.classloader.loadclass(classloader.java:307) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:301) @ java.lang.classloader.loadclass(classloader.java:252) @ sun.instrument.instrumentationimpl.loadclassandstartagent(instrumentationimpl.java:280) @ sun.instrument.instrumentationimpl.loadclassandcallpremain(instrumentationimpl.java:338) 

fatal error in native method: processing of -javaagent failed exception in thread "main"

my jre system library jre6,and select 1.6 in compiler compliance level,but still same,so should do?

appengine requires java 7, , latest versions compiled java 7 compliance (-target 1.7), classes can't loaded in java 6 vm. exception tells you.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -