UnsupportedClassVersionError when running with JRE 1.4.2 2006-12-08 - By Jason Hunter
Back The official distribution was, and is, built against JDK 1.2 to avoid this issue. If you're getting that error it means you're not using the JAR we officially distribute. Why don't you download again and check? If you still get the error, you may have a second copy of the JAR somewhere like in your std extension directory that you're unaware of.
-jh-
Carsten Schlipf wrote: > Hi all, > > I intend to use JDOM within a proprietary ESB, which unfortunately is > bound to using JRE 1.4.2. Using the jdom.jar from the 1.0 package > downloaded from jdom.org (Septemeber 9th) I get this exception: > > java.lang.UnsupportedClassVersionError: org/jdom/JDOMException > (Unsupported major.minor version 49.0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(Unknown Source) > at java.security.SecureClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.access$100(Unknown Source) > .... > > Based on my findings in Google this seems to claim that the > JDOMException class was compiled with Java 1.5.x. But I didn't recompile > JDOM and I really use the downloaded, unmodified JAR. > > In a former post to this list I even read that JDOM was compiled to be > compatible with Java 1.2. > > Any ideas, what the problem could be here? > > Best regards, > Carsten > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > To control your jdom-interest membership: > http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected) > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
|
|