Problems installing Jogl on Mac OSX

Hi everyone,
This isn’t really a problem but I don’t know how to install jogl on mac osx…
I have already readed all the “how to: getting started with jogl” topic but I haven’t understand much of it.
Could anyone explain exactly the procedure for install jogl on macosx?
I’ve downloaded th files .jar and .jnilib but fron now on I don’t know what to do.

thanks

drop the jar and jnilib in one of two directories.

# create this directory if it doesn t exist
~/Library/Java/Extensions 
# this is already there
/Library/Java/Extensions

The native libs don’t actually belong there anymore from what I can tell (or at least they didn’t work for me when I put them there!).

You can put the jars there if you like (of course, you can put them where ever you like as long as the dir is in your java.library.path) but the native libs now have to go here:
(please excuse this, its from memory and my mac is at home)
/System/Library/Frameworks/Java.VM.Framework/Versions/1.4.2/bin

OK - if that isn’t correct, let me know and I’ll get the correct path when I get home. I actually just figured this out last night. I think some of the confusion is that natives used to go in ’ /Library/Java/Extensions’ but now that directory is only good for jar files. Certainly on my 10.3.6 machine with 1.4.2 I have to put them in the Framework path. I swear I tried every other possible place before trying that :wink:

Let me know if you run into problems - I have it all nicely set up in Eclipse in OS X at home, so I should be able to help you out.

The native libs don’t actually belong there anymore from what I
can tell (or at least they didn’t work for me when I put them there!).

No, they still belong there!

There was a bug in a specific version of Java on Mac OS X (can’t remember which) that prevented loading native libs from these directories. It works on my computer right now (Versions 10.3.7, 1.4.2_05).

The bin directory is useful workaround for the buggy version.

My bad- oh well, if the OP had the same buggy version I did, then at least he can continue to dev…

Time for me to update my machine I suppose is the moral of the story!

j.