import net.java.games.jogl.*; does not work

I just installed jogl on my powerbook running on Mac OS X 10.4. Therefor I copied jogl.jar, jogl-native-macosx.jar and libjogl.jnilib into /System/Library/Java/Extensions as well as /Library/Java/Extensions.

Unfortunately it does not work. Trying to write a simple testprogramm with Eclispe I get the error:

“the import net cannot be resolved”

at the following line:

import net.java.games.jogl.*;

Other imports from jogl, for example

import javax.media.opengl.;
import javax.media.opengl.glu.
;

work. I can find these directories in jogl.jar but not a directory net/java/games/jogl??
Do I have the wrong jogl.jar???

(You can also use ~/Library/Java/Extensions for user-specific extension installations)

NEVER put anything under /System that’s for Apple to use and you to not mess with.

It is generally considered bad practice to install JOGL as an extension, as this causes conflicts with many programs that require a specific version of JOGL.

Perhaps you are using old code that is not compatible with the latest JOGL release? Try to find where the specific classes you are using are located in the jogl.jar file to see what the new package name might be.

Thank you very much. Indeed I tried old code. JOGL seem to changed like the wind. I started with some examples that were dated 10.2005. But they seem to be outdated.

Instead of

import net.java.games.jogl.*;

I used

import javax.media.opengl.;
import javax.media.opengl.glu.
;

wich is also more similar to the c-includes and rewrite some code…