FileNotFoundException

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

FileNotFoundException

Mike
I just upgraded to rc5 from rc3 and now when I run my program i get the following error.

java.io.FileNotFoundException: C:\Users\mike\Documents\My Stuff\LeadCrystalStuff\Jogl\jars\gluegen-rt-natives-windows-amd64.jar (The system cannot find the file specified)

Does JOGL now try to load the .dll's from this jar at runtime? Previously I had just been loading the dll's manually.
Reply | Threaded
Open this post in threaded view
|

Re: FileNotFoundException

gouessej
Administrator
Hi

Now, JOGL, JOAL and JOCL try to extract native libraries from JARs and load them. It is a fine feature, you just have to put the JARs containing the native libraries into the same directory than those containing their Java counterparts (jogl.all.jar and gluegen-rt.jar). There is no need to set the Java library path. Just put jogl.all.jar and gluegen-rt.jar into the class path.

You can disable this feature by setting its flag to false.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: FileNotFoundException

Mike
What is the flag to set to disable this feature? I couldn't fine any release notes or any documentation explaining it.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: FileNotFoundException

gouessej
Administrator
jogamp.gluegen.UseTempJarCache
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: FileNotFoundException

Sven Gothel
Administrator
In reply to this post by Mike
On Thursday, January 12, 2012 10:25:30 PM Mike [via jogamp] wrote:
>
> What is the flag to set to disable this feature? I couldn't fine any release
> notes or any documentation explaining it.
>

it should work either way, disable by the flag Julien mentioned
or by just having the native libs in it's folder.

sure, you could also just use the native JARs :)
  http://forum.jogamp.org/setting-up-JOGL-in-Eclipse-on-Mac-OSX-Lion-Frustration-td3435692.html#a3436274

yes, we are behind in documentation. If you are good in documentation,
maybe you like to help us out with our wiki ?

~Sven

> Thanks
>