jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaetano Sferra <gsfe...@imnet.it>
Subject Re: Jackrabbit 1.4 building matters
Date Tue, 13 Jan 2009 12:57:43 GMT
Jukka Zitting ha scritto:
> Hi,
>
> On Mon, Jan 12, 2009 at 4:18 PM, Gaetano Sferra <gsferra@imnet.it> wrote:
>   
>> jackrabbit 1.4 binaries available for download doesn't works with JRE 1.5 so
>> I tried to build it from sources using a java 5 sdk.
>>     
>
> Jackrabbit 1.4 should work just fine with Java 1.5. What's the problem
> you were seeing?
I get this exception (source/binary version JDK 5 and JRE 1.5):

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad 
version number 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:124)
        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)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at 
org.apache.jackrabbit.core.TransientRepository.class$(TransientRepository.java:56)
        at 
org.apache.jackrabbit.core.TransientRepository.<init>(TransientRepository.java:150)
        at 
org.apache.jackrabbit.core.TransientRepository.<init>(TransientRepository.java:211)
        at 
org.apache.jackrabbit.core.TransientRepository.<init>(TransientRepository.java:171)
        at jcrreloaded.Main.main(Main.java:38)

Switching to JDK 1.6 everythings works ok... maybe I missing something...
Thank you...
--
GaS

Mime
View raw message