Using Jogl

I have a set of the Jogl bindings. Included are

  1. jogl.dll
  2. jogl.jar

How do I set up the environment to make use of the Jogl bindings?

I get this error :

Gears.java:38: cannot access net.java.games.jogl.GLEventListener
bad class file: C:\jogl\net\java\games\jogl\GLEventListener.class
class file has wrong version 48.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
static class GearRenderer implements GLEventListener, MouseListener, MouseMotionListener {

We’re going to need a bit more info to help:

  1. Did you create JOGL yourself or did you download it (and if the latter, from where)?
  2. What OS / JVM? (Problems like this are common with old JDK 1.4.0 betas)
  3. Did you compile the demos against the JOGL from #1 or are they from two different sources?

well…

  1. I received the bindings from Pepijn(GL4Java guy)

2)I am using Windows Xp Sun jdk 1.3.1_01

3)The Gears demo came with the binaries

jogl was compiled against 1.4.2, so this is most likely your problem

Yes, JOGL is designed for J2SE 1.4 and above and makes heavy use of 1.4-specific features such as New I/O.

Thanks!!