Problems with java 1.5 and smrj

Problems with Java, jogl, etc?
Post Reply
Thilo
Posts: 2
Joined: Thu 7. Dec 2006, 15:24

Problems with java 1.5 and smrj

Post by Thilo » Thu 7. Oct 2010, 07:59

I'm trying to build jreality with java 1.5.0 (jdk1.5.0_18_x64 on linux) and get the following error, which indicates that smrj.jar has been build with java 1.6.

Code: Select all

...
proxies:
    [mkdir] Created dir: /net/arnold.home/thilosch/eclipse_workspace/jreality/build/proxies
    [javac] Compiling 35 source files to /net/arnold.home/thilosch/eclipse_workspace/jreality/build/proxies
    [javac] /net/arnold.home/thilosch/eclipse_workspace/jreality/src-proxies/de/jreality/scene/proxy/smrj/ClientFactory.java:44: cannot access de.smrj.RemoteCall
    [javac] bad class file: /net/arnold.home/thilosch/eclipse_workspace/jreality/lib/smrj.jar(de/smrj/RemoteCall.class)
    [javac] class file has wrong version 50.0, should be 49.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import de.smrj.RemoteCall;
    [javac]                ^
    [javac] 1 error
...
Can you provide smrj jars for version 1.5 or is java 1.6 really needed?

User avatar
steffen
Posts: 186
Joined: Fri 16. Jun 2006, 13:30
Location: TU Berlin
Contact:

Re: Problems with java 1.5 and smrj

Post by steffen » Thu 7. Oct 2010, 15:33

I have just updated the smrj jars, can you check if the build works now?

Thilo
Posts: 2
Joined: Thu 7. Dec 2006, 15:24

Re: Problems with java 1.5 and smrj

Post by Thilo » Fri 8. Oct 2010, 10:32

Now everything works fine. Thx.

Post Reply