Version short: ;D
¿How is the command line for run jar application setting the classpath?. (java -cp .;<path_to_jogl.jar> -jar MyApplication.jar
and java -classpath .;<path_to_jogl.jar> -jar MyApplication.jar don´t find the jogl.jar archive)?
Version long: :’(
I have an application that use jogl (MyApplication.jar), in Windows XP, and my instalation was putting the file “jogl.jar” in the directory lib/ext of the JRE (C:\Archivos de programa\Java\jre1.5.0_08\lib\ext) and setting in the PATH the directory in which are the natives files (C:\Archivos de programa\Java\jogl\lib).
It`s worked ok, and when I do double click in my application this run, when a write in console >java -jar MyApplication.jar run ok, but i have problem when i try to run it if the file “jogl.jar” isn´t in the directory lib/etc.
I´ve trying with
java -cp .;<path_to_jogl.jar> -jar MyApplication.jar
java -classpath .;<path_to_jogl.jar> -jar MyApplication.jar
And things how http://www.java-gaming.org/forums/index.php?topic=1474.msg54307#msg54307
But always say “Exception in thread “main” java.lang.NoClassDefFoundError: javax/media/opengl/GLEventListener”.
The natives files is setting ok with the PATH (because if i copy only the file jogl.jar in the directory lib/etc de application work).
¿How can do this?
Thanks.