I need help getting started with JOGL

Hello there!

I’m a programmer from german and my english is not that good. But i hope you can help me.

I want to start with jogl. I have downloaded this files:

jogl.jar
jogl-natives-win32.jar

I use eclipse for development. I have add the jogl.jar to my project and the java classes will compile correctly. But I cannot run my project. Which other files do I need and in which directory I have to place this files?

Please help me getting started with JOGL.

Thank You!!!

Hello there!
Try to copy dll from natives jarlib to project directory. This would propably help;)

Thank you, now it works.

I’m exactly where heine789 was, but i’m lost with the “copy dll from natives jarlib”.

Latest version of eclipse and the jogl.jar in C:\Program Files\Java\jre1.5.0_04\lib,
jogl-natives-win32.jar files in C:\Program Files\Java\jre1.5.0_04\lib\ext.

I’ve added jogl.jar as an library on the Java Build Path (eclipse project properties box), and have selected C:\Program Files\Java\jre1.5.0_04\lib\ext as its native library location.

Unspecified file-something-error.

Maybe lack of sleep, i’ll see what pops up in the morning.
When I get it working i’ll make up a nice eclipse tutorial in a new thread and then we can just bounce the newbs to it lickety split :smiley:

Hi, unjar the dll from the native_xxx.jar, it can help.

Still entirely lost…“unjar the dll”? How does one go about doing this?

I get the feeling that eclipse wants the native library to be a “jogl.dll” file, which I have seen mentioned on many other threads here. Will this un-jarring step provide that??

I’ve found a powerpoint presentation on doing this on google, but still no luck after following it’s directions.
http://resumbrae.com/ub/dms424_s05/16/JOGL.ppt

I’m running XP Professional, if it makes any difference. lol

a jar file is a kind of zip file.

The jogl-native…jar contains the required dlls.

So rename that jar file to .zip, open it and extract the dlls…

after that, set your java.libray.path to where you extracted the dlls (java -Djava.library.path=c:\wherearemydlls )

Hope it’s clear now…

Lilian