Basic OpenGL Rendering Won't run

Started by intel17, March 25, 2008, 14:22:10

Previous topic - Next topic

intel17

I get this problem when following the Tutorial on Basic OpenGL Rendering.  I am useing JCreator LE any ideas?

--------------------Configuration: Game - JDK version 1.6.0_03 <Default> - <Default>--------------------
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.opengl.Display
    at Game.cleanup(Game.java:105)
    at Game.main(Game.java:40)

Process completed.


Thanks,
Pete

intel17

lol np all sorted thanks to the guys down at IRC.
I'm useing the command line to compile and run now

To compile*
javac -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar;jar\jinput.jar;java.library.path=native\win32 *.java pause


To run*
java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar;jar\jinput.jar; -Djava.library.path=native\win32 <compiled filename no .class e.g game.class would be just game>


*I'm useing windows and i put those commands into a batch file and ran it in the lwjgl-1.1.4 directory. 
Hope this has helped someone.
-Pete