I’m trying to send this application written using Xith to my PC friends who don’t have Xith or anything else installed (besides Java of course).
To make it easy for them to launch it, I made a ‘run.bat’ file that they can use to load the libraries and launch the app:
java -Djava.library.path=libs\ -Djava.ext.dirs=libs\ -cp libs\;libs\jogl-natives-win32.jar;libs\jogl.jar;libs\vecmath.jar;libs\xith3d.jar -jar Mouse.jar
Now, in the ‘libs’ folder are the following items:
jogl-natives-win32.jar
jogl.dll
jogl.jar
jogl_cg.dll
vecmath.jar
xith3d.jar
I’m on a Mac so I have difficulty figuring out what exactly is the problem.
When they run the command they get the following error:
Exception in thread "main" net.java.games.jogl.GLException: java.lange.ClassNotFoundException: net.java.games.jogl.impl.windows.WindowsGLContextFactory
at net.java.games.jogl.impl.GLContextFactory.getFactory<GLContextFactory.java: 78>
at net.java.games.jogl.GLDrawableFactory.createGLCanvas<GLDrawableFactory.java:150>
at net.java.games........ blah blah
I think I’m missing a library or something. How do I get it to run?



