Running JOGL Demos

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Running JOGL Demos

uhok
This post was updated on .
I wanted to build + run the JOGL demos so that I could experiment a bit. However, I am having a hard time running the demos.

To build the demos, I cloned JOGL, gluegen, JOAL, and JOGL-Demos, and used ANT to build each of them. Ant finished building each without any errors.

However, when I try to run the demos as described at the link below, java simply complains that it "Could not find or load main class demos.gears.Gears". This is despite setting the class path (which I've also provided below).

I've not done anything with Java in a while, so I am probably making a very simple mistake. Any help would be greatly appreciated.

http://jogamp.org/jogl-demos/doc/readme.html (also, the top link on this page is dead)

>echo $CLASSPATH
/Users/me/Desktop/jogamp/jogl-demos/build/jogl-demos-data.jar /Users/me/Desktop/jogamp/jogl-demos/build/jogl-demos-dualDepthPeeling.jar /Users/meDesktop/jogamp/jogl-demos/build/jogl-demos-tennis.jar /Users/me/Desktop/jogamp/jogl-demos/build/jogl-demos-util.jar /Users/me/Desktop/jogamp/jogl-demos/build/jogl-demos.jar

>java demos.gears.Gears
Error: Could not find or load main class demos.gears.Gears
Reply | Threaded
Open this post in threaded view
|

Re: Running JOGL Demos

gouessej
Administrator
Does it answer your questions?
http://jogamp.org/wiki/index.php/Jogl_FAQ#JOGL_Demos
Julien Gouesse | Personal blog | Website