A problem with loading native libs

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

A problem with loading native libs

Vitaly Nazaryants
Hello, we upgrade Gluegen and JOGL from version 1.1.1a to 2.0-rc9 and found a problem with loading of native libraries. Our app uses webstart for client-side and we have to change file names of jars with native libs (we need to add a hash string to them), we also use Pack200. It's nice to get rid of the old mechanism of unpacking native libs to lib\jogl_1.1.1a, but now despite all our effort we are stuck with "no gluegen-rt in java.library.path" when the applet is loading - it asks for, say, "gluegen-rt-natives-windows-i586.jar" but we have this file with packed and with a hash string at its end, so it seems that it cannot find the file with a specific name and searches in java.library.path. And we cannot use java.library.path to unpack libraries to some location and then add it to java.library.path. Is it possible to get around the restrictions on the file name for jars containing native libraries, or maybe some other way to make Gluegen and JOGL find their native libraries in such situation? Thanks!

Yours,
Vitaly
Reply | Threaded
Open this post in threaded view
|

Re: A problem with loading native libs

gouessej
Administrator
Hi

You should use the RC11 or the very latest aggregated build. You can disable the automatic loading of native libraries, please have a look at the user's guide.
Julien Gouesse | Personal blog | Website