It's been some time since I last used Java and I was trying to get into
it again using Eclipse as IDE and jogl for visualization. My HelloWorld
app compiles, but when running it I get:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in
java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
I have tried copying the jogl.jar file into /jre/bin/ext , updating the
env. variable, and also passing the complete pathname of the jar to the
VM with the -D option. The error message still remains the same.
How do you set up Eclipse to make sure it tells the VM where all
external jars are located ?
IchBin - 09 Mar 2006 04:43 GMT
> It's been some time since I last used Java and I was trying to get into
> it again using Eclipse as IDE and jogl for visualization. My HelloWorld
[quoted text clipped - 10 lines]
> How do you set up Eclipse to make sure it tells the VM where all
> external jars are located ?
If you are trying to run it from within Eclipse.. Then
- Right click on your project and select properties.
- The select Java Build Path
- then add the link to the jogl.jar there
You should be ok to run after that..

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Roedy Green - 09 Mar 2006 05:21 GMT
>How do you set up Eclipse to make sure it tells the VM where all
>external jars are located ?
edit build path

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
grubertm@gmail.com - 12 Mar 2006 09:39 GMT
Tried it, but changing the build path does not change a thing. The
project build path libraries tab now contains the JRE1.5.0 system
libraries as well as a reference to jogl.jar. I also tried adding the
DLL path to the native library tab of jogl.jar. Still no go
Roland de Ruiter - 12 Mar 2006 13:47 GMT
> Tried it, but changing the build path does not change a thing. The
> project build path libraries tab now contains the JRE1.5.0 system
> libraries as well as a reference to jogl.jar. I also tried adding the
> DLL path to the native library tab of jogl.jar. Still no go
Works for me. WinXP/Eclipse 3.1/latest JOGL from jogl.dev.java.net
Did you extract the DLL files from the jogl-natives-win32.jar? The
native library location should refer to a directory containing the DLLs,
not just the jogl-natives-win32.jar.
Regards,
Roland
mjb - 13 Mar 2006 19:18 GMT
> It's been some time since I last used Java and I was trying to get into
> it again using Eclipse as IDE and jogl for visualization. My HelloWorld
[quoted text clipped - 10 lines]
> How do you set up Eclipse to make sure it tells the VM where all
> external jars are located ?
see:
http://www.euclideanspace.com/software/language/java/eclipse/
(about half way down the page)
Martin