jodyyangyh / mongo-java-orm

Automatically exported from code.google.com/p/mongo-java-orm
1 stars 0 forks source link

could you please tell me, what is wrong with that? #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
F:\mongodb>java -jar mongodb-shell-0.2-ALPHA.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

F:\mongodb>java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)

Original issue reported on code.google.com by laiqi...@gmail.com on 18 Jul 2011 at 2:28

GoogleCodeExporter commented 9 years ago
It may be that the library is compiled for java 1.6 and you're using java 1.5.  
but what is mongodb-shell ?

Original comment by brian.di...@gmail.com on 1 May 2012 at 12:21

GoogleCodeExporter commented 9 years ago

Original comment by brian.di...@gmail.com on 26 May 2012 at 2:41