Problem with Installation

Hello,



I have tried to install the JME 2.0 and I was able to compile it successfully. But when I startet the jmetest.jar I got some errors. I already set the environment variables to the jar Files, but it didn t work. This is the console output:



C:jmetarget>java -jar jmetest.jar

15.08.2009 11:46:38 jmetest.TestChooser start

INFO: Composing Test list…

Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/Sys

        at jmetest.TestChooser.start(TestChooser.java:452)

        at jmetest.TestChooser.main(TestChooser.java:444)

Caused by: java.lang.ClassNotFoundException: org.lwjgl.Sys

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

        … 2 more



Has anybody an idea what I did wrong? The CLASSPATH already includes the lwjgl.jar file so I don t know why it doesn t work.



Thanks a lot

loejen

Has nobody an idea what's going wrong?

Can you show what is your current CLASSPATH? The error says that the lwjgl.jar is not in your CLASSPATH.

Hello,



I had a similar problem using Eclipse IDE, and having followed the tutorial available in the wiki section. I changed for NetBean IDE, followed the tutorial for Netbean and now everything goes just fine!



I dont know if I m of any help here, jME is very new to me (and so is Java in general  :D)

This looks as if your native libraries for lwjgl aren’t set… I’m not sure how to do this using java through the command line TBH, as I set thing up on a per-project basis using my IDE



Setting up Eclipse or Netbeans When You Already Have The jME Jar’s

As for your original post, to run the TestChooser class, issue the command like this:


run jmetest.TestChooser



Roslan

OK thanks for your answers. I didn't want to change my IDE but know I'll try it with Netbeans because I already tried it for hours now :smiley: . I'll tell you if it works.



Jens

Ok now it works.



Jens