Skip to main content

Unknown Error

8 replies [Last post]
XTJ7
Offline
Joined: 2006-02-17

It starts showing
[1] ####
where # stands for a number.

When I look into /tmp/lgserver.log everything seems to be alright, but /var/tmp/lgserver.log contains the following error message:

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jdesktop/lg3d/displayserver/socketconnector/ServerHandler (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

So whats with that? I dont know what to do, but I followed the instructions given in the getting started sections and took care about the versions and got exactly the same as listed in the getting started section.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
XTJ7
Offline
Joined: 2006-02-17

Same goes for me, I checked it a few times and everything went right then. It indeed IS jdk1.5.0 with j3d and jai installed properly.
Still that error on two totally different systems with equal configuration (same jdk, jai and j3d and as well same OS (SuSE 9.1)), the one with AMD XP2500+ processor and Nvidia graphic card, the other one with an Intel Pentium 4 2,53 GHz processor and Radeon graphic card.
It's all the same. I can't tell what it is but I'd greatly appreciate any helpful hints as I don't seem to be able to fix that problem. I can't even think of any solution, it MUST be some bug within the code of lg3d or so. Don't know, thanks in advance guys.

Edit: I had set those variables correctly, but I did PATH=$JAVA_HOME/bin:$PATH
Is that wrong? As far as I know it is listed that way in the getting started information.

Message was edited by: XTJ7

mdenty
Offline
Joined: 2004-07-25

PATH=$JAVA_HOME/bin:$PATH

You're right, it was a typo error in my previous post ;)

mwylde
Offline
Joined: 2004-06-30

I had the same problem (look at the thread here: http://www.javadesktop.org/forums/thread.jspa?threadID=2973&tstart=0) I have a radeon 9500, and SuSE linux 9.0. I installed everything exactly as the guide told me to, including setting the variables.

Message was edited by: mwylde
sorry, I didn't realize that html doesn't work.

XTJ7
Offline
Joined: 2006-02-17

So it seems that lg3d doesn't like Radeon graphic cards that much. Humn... hopefully this problem will be solved soon, I'm really looking forward to see what the workflow of a 3d desktop environment is like.

Although I still don't get why it is the same with the other machine (Nvidia GeForce4 Ti 4400). Well, if there are any further suggestions what to do I would greatly appreciate any help. :)

Paul Byrne

Actually it's not so much Looking Glass (or Java 3D) not liking Radeon
cards but issues with ATI's OpenGL. Looking Glass uses Java 3D and in
turn Java 3D uses OpenGL to talk to the hardware. The Java 3D is trying
to work around this issue with ATI's OpenGL and we should have a fix
soon. We would also love to work with ATI to ensure that we don't
encounter any other issues (same goes for all the other graphics vendors
of course). Nvidia's OpenGL and drivers on Linux seem to be the most
stable at the moment.

Rgds

Paul

On Thu, 2004-07-01 at 04:29, lg3d-interest@javadesktop.org wrote:
> So it seems that lg3d doesn't like Radeon graphic cards that much. Humn... hopefully this problem will be solved soon, I'm really looking forward to see what the workflow of a 3d desktop environment is like.
>
> Although I still don't get why it is the same with the other machine (Nvidia GeForce4 Ti 4400). Well, if there are any further suggestions what to do I would greatly appreciate any help. :)
> ---
> [Message sent by forum member 'XTJ7' (Tobias)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=13704?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

Anonymous

All I can suggest is double checking that you downloaded the exact jdk ver. as per the guide (1.5.0beta2). This is a similar error to the one I get when attempting to run my code compiled under 1.5 on JVM's with 1.4.2.
Blake
BlakeB395@myrealbox.com

Anonymous

Woah. I just downloaded the source via cvs and built with ant. I got a similar error. (Exception in thread "main" java.lang.UnsupportedClassVersionError: TestDSO (Unsupported major.minor version 49.0)) I'm absolutely sure I have jdk1.5.0beta2 installed. Does anyone know the genesis of this error?
Blake
BlakeB395@myrealbox.com

mdenty
Offline
Joined: 2004-07-25

Hi,

You should make sure to export JAVA_HOME and PATH before launching lg3d-dev.

I need to type :

export JAVA_HOME=/usr/jdk1.5.0
export PATH=$JAVA_HOME/bin:$PATH

This is because LG do not only use java but also rmiregistry and probably other binaries from the jdk.

I use jdk1.5.0beta3-b57 (snapshot version) from Sun.

Message was edited by: mdenty
Added /bin to PATH