So I compiled jME fine without any errors
Made all the libraries just like in the tutorial for netbeans and then i took the sample program from http://www.jmonkeyengine.com/wiki/doku.php?id=starting_with_simplegame
it builds without any issues except it says this:
C:jME2jME2build is a directory or can't be read. Not copying the libraries.
Building jar: C:*** My Project Location ***
Not copying the libraries.
BUILD SUCCESSFUL (total time: 0 seconds)
And when i go to run it it says:
WARNING: Could not load properties. Creating a new one.
Oct 19, 2009 8:24:26 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:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
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 Main.main(Main.java:8)
Please help I am at a loss :?
did you read the error message and follow the link?
you need to give LWJGL.jar its native binary files, follow the link in the error message to learn how to do that
Wow… how did i not see that I was trying to fix this all night and I never noticed the link
Wait a second i have the natives linked -Djava.library.path="jME2jME2liblwjglnativewindows"
I had this exact same problem when I tryed the precompiled version
are you sure the directory is pointing to the right positiion?
yea I fixed it this thread here helped if anyone else ever has the same issue http://www.jmonkeyengine.com/forum/index.php?topic=11717.msg87803#msg87803