I've followed to installation guide for setting up LWJGL with NetBean. I've done exactly what it says but whenever I try to run the example code I get this error:
java.lang.NoClassDefFoundError: Djava/library/Path=C:\Users\Clinton\Documents\LWJGL\lwjgl-2/7/1\native\windows
Caused by: java.lang.ClassNotFoundException: Djava.library.Path=C:\Users\Clinton\Documents\LWJGL\lwjgl-2.7.1\native\windows
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: Djava.library.Path=C:\Users\Clinton\Documents\LWJGL\lwjgl-2.7.1\native\windows. Program will exit.
Exception in thread "main" Java Result: 1
Did you put a "-" in front of your command line argument?
Umm... What?
-Djava.library.path=....
not
Djava.library.path=....
Oh ok thanks, that fixed 1 problem, but there is still another one >:(
My bad, I restored it to the original question. And no need to be a little bitch about it
Did you really just insult people who are trying to help you? ???
Quote from: CodeBunny on March 22, 2011, 01:07:19
Did you really just insult people who are trying to help you? ???
I think that's why no one has posted in this thread for a month. ;D
Ah, I haven't been on in a while and didn't see the dates.