In the Wiki, it says to add those Jar's to the library, but in the lib folder I don't have those. This is a problem with jME 2.
I need this because I'm getting this runtime error:
Aug 29, 2009 10:24:26 PM jmetest.TestChooser start
INFO: Composing Test list...
Aug 29, 2009 10:24:26 PM jmetest.TestChooser find
INFO: Searching for Demo classes in "jmetest".
Aug 29, 2009 10:24:27 PM com.jme.scene.Node <init>
INFO: Node created.
Aug 29, 2009 10:24:27 PM com.jme.scene.Node <init>
INFO: Node created.
Aug 29, 2009 10:24:31 PM com.jme.app.BaseGame start
INFO: Application started.
Aug 29, 2009 10:24:31 PM com.jme.system.PropertiesGameSettings <init>
INFO: PropertiesGameSettings created
Aug 29, 2009 10:24:31 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
Aug 29, 2009 10:24:31 PM com.jme.app.AbstractGame getAttributes
SEVERE:
Native library not set - go to
http://www.jmonkeyengine.com/wiki/doku.php?id=no_lwjgl_in_java.library.path
for details.
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.<clinit>(Sys.java:98)
at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
at com.jme.system.lwjgl.LWJGLPropertiesDialog$ModesRetriever.run(LWJGLPropertiesDialog.java:682)
at com.jme.app.AbstractGame.getAttributes(AbstractGame.java:252)
at com.jme.app.BaseGame.start(BaseGame.java:67)
at jmetest.renderer.loader.TestFireMilk.main(TestFireMilk.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jmetest.TestChooser.start(TestChooser.java:465)
at jmetest.TestChooser.main(TestChooser.java:444)
EDIT: What happened to all the helpful people? This should be easy for the developers.
EDIT: What happened to all the helpful people? This should be easy for the developers.
Maybe helpful people like to have the feeling that the one asking really tried it or minimum gives a useful description of the problem without the need to pull every single information out of you.
To your problem, you say you don't have the jars but that is not true. Cause otherwise you wouldn't be able to get logs like this, where you use the jme-jars.
INFO: Searching for Demo classes in "jmetest".
Aug 29, 2009 10:24:27 PM com.jme.scene.Node <init>
INFO: Node created.
Aug 29, 2009 10:24:27 PM com.jme.scene.Node <init>
INFO: Node created.
Aug 29, 2009 10:24:31 PM com.jme.app.BaseGame start
INFO: Application started.
Native library not set - go to
http://www.jmonkeyengine.com/wiki/doku.php?id=no_lwjgl_in_java.library.path
for details.
Wow,...is that really the error that is thrown? But you can read, can you?
Your problem is that you didn't add the native path. Use the link that is thrown by the system and pablo provided and you are fine. That will solve your problem at least the jme-problem.
EDIT: What happened to all the helpful people? This should be easy for the developers.
Maybe helpful people like to have the feeling that the one asking really tried it or minimum gives a useful description of the problem without the need to pull every single information out of you.
To your problem, you say you don't have the jars but that is not true. Cause otherwise you wouldn't be able to get logs like this, where you use the jme-jars.
INFO: Searching for Demo classes in "jmetest".
Aug 29, 2009 10:24:27 PM com.jme.scene.Node <init>
INFO: Node created.
Aug 29, 2009 10:24:27 PM com.jme.scene.Node <init>
INFO: Node created.
Aug 29, 2009 10:24:31 PM com.jme.app.BaseGame start
INFO: Application started.
Native library not set - go to
http://www.jmonkeyengine.com/wiki/doku.php?id=no_lwjgl_in_java.library.path
for details.
Wow,...is that really the error that is thrown? But you can read, can you?
Your problem is that you didn't add the native path. Use the link that is thrown by the system and pablo provided and you are fine. That will solve your problem at least the jme-problem.
Have fun with it
BTW: Nice nickname,...where comes that from? :p
I did try...
Also thanks Core, the video tutorial helped a lot! I was adding the wrong library.