|Re: JOGL in eclipse [message #467837 is a reply to message #457856]
||Mon, 03 August 2009 06:07
| Madhu Samuel
Registered: July 2009
> I am trying to use eclipse to develop jogl applications and have added the
both of the jogl jars as variables to the build path. I'm getting an error
"java.lang.UnsatisfiedLinkError: no jogl in java.library.path" whenever I try
to run the project even though all of the references to the jars are being
accepted in compilation. What is wrong?
The "java.lang.UnsatisfiedLinkError" is thrown when the program is not
able to find the jogl dll files.
Right click on the java class, goto Run As > Run Configurations
Select your configuration, Open the 'Arguements' tab.
In the VM Arguements, provide "-Djava.library.path=c:\jogl\lib"
where, "c:\jogl\lib" is the folder in which jogl.dll, gluegen-rt.dll,
jogl_awt.dll etc are available.
Powered by FUDForum
. Page generated in 0.02376 seconds