Hi I'm trying to get this set up on Windows 7 on eclipse and I'm having some problems.
What I did:
1. I created a project called MyTest
2. I added jpct.jar, lwjgl_util.jar, lwjgl.jar to the libraries of the project
3. I copied and pasted the 3 java files in the example code HellowWorldAWTGL.java, etc. into the source file
4. I set the VM arguments in the run configuration to be: -Djava.library.path=C:\Java3D\jpct\lib\lwjgl-2.0\native\windowsf MyTest
If I remove the VM arguments it works up until the .dlls are needed (it prints a bunch of stuff out), however if I include the VM Arguments I get the following:
java.lang.NoClassDefFoundError: MyTest
Caused by: java.lang.ClassNotFoundException: MyTest
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main"
I'd really appreciate help on this, I've been experimenting with a bunch of different libraries (i.e. Controller Input), and I really want to add 3D to my repetoire.
Just remove the MyTest-part from the vm arguments. You only have to specify the java.library.path, not the class to execute. Eclipse will do this for you anyway.
Wow thanks it works!