howdy everyone,
i’m new to java, but an old c++/opengl veteran… an aquaintance (java junkie) pointed me in the direction of jogl… but i’m developing on linux, which he isn’t always a lot of help with not being a linux guy.
so basicly i’ve successfully run a ‘hellow world’ app… but i’m having issues with the jogl demos… Gears for instance:
michael@:/usr/java/jogl/demos/applets$ java GearsApplet
Exception in thread “main” java.lang.NoClassDefFoundError: GearsApplet (wrong name: demos/applets/GearsApplet)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
CLASS_PATH environment variable is:
CLASS_PATH=.;/usr/java/jdk/lib;/usr/java/jdk/include;/usr/java/jogl
jdk is a symlink to the current java jdk installation… and the jogl jar and jni is in jogl. i unjared all of the jars for the hell of it, though i figure that isn’t entirely necesarry.
so what’s the diagnosis doc?
sincerely,
michael