Tris Orendorff wrote:
> Jon Harrop <> burped up warm pablum in
> news::
>>
>> Anyone managed to get JOGL working under AMD64 Debian?
>
> Only with Nvidia video cards and their *sinful* binary drivers. ATI is a
> lost cause when it comes to 3-d drivers.
That's fine, we only use nVidia cards anyway. But I'm having a hell of a job
getting JOGL to work. I tried getting the latest builds of JOGL and the
JOGL demos but I got:
$ cd jogl-demos
$ java -cp build/jogl-demos.jar demos.gears.Gears
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/opengl/GLEventListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at
java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$000(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.j ava:18

at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
So I tried getting a coherent distribution from the latest stable releases
(jogl-1.1.1-rc3) but I still get the same error. I've tried recompiling the
whole thing from scratch and still get the same error.
Finally, I've scoured the internet to see if anyone else has working
implementations. I found a couple of demos that run under web start. One of
my browsers under (64-bit Debian) Linux handles this and the demo runs but
it is very slow. However, it is layering both Java2D and OpenGL so maybe it
is inherently slow. The same demo on my Windows XP box (same hardware) runs
for a few seconds before hanging.
Outside Java, OpenGL works flawlessly on both machines and we use it
regularly in our work (from OCaml). Both machines have the same spec:
2x 4400+ Athlon64
2Gb RAM
GeForce 7900GT 512Mb
This raises several questions for me that I've had trouble getting answers
to:
1. If I want to do high-performance real-time interactive 2D and 3D graphics
and port our OpenGL-based libraries to the Java platform for others to use,
is JOGL the right library for me?
2. How many people actually have a working JOGL development environment, so
they can compile OpenGL applications written in Java?
3. How reliable is JOGL? Is it viable to use JOGL for commercial work or is
it too unstable in practice?
I have found some alternatives like the NetBeans OpenGL project but it has
zero users. I believe JOGL is supported by Sun so I assume it is the
defacto-standard for this kind of work but I'd like some reassurance...
Many thanks,
--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com/products/?u