LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: meapineapple on March 28, 2014, 19:16:48

Title: Netbeans, how does it work?
Post by: meapineapple on March 28, 2014, 19:16:48
I followed these instructions (http://lwjgl.org/wiki/index.php?title=Setting_Up_LWJGL_with_NetBeans) for setting up LWJGL with Netbeans. Then I tried running the quad example (http://lwjgl.org/wiki/index.php?title=LWJGL_Basics_3_(The_Quad)).

Instead of running the thing, the console says this:


Error: Could not find or load main class Djava.library.path=C:\Users\...\lwjgl-2.9.1\native\windows
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)


Please help me, I don't know what I'm doing with my life anymore.

edit: The entire problem was that I didn't have a "-" preceding the Djava bit. You all can go home now.
Title: Re: Netbeans, how does it work?
Post by: mireazma on March 31, 2014, 12:07:49
Off I go.