Re: ZipException when loading native jars
Posted by
ryanmohr on
Dec 04, 2012; 9:14pm
URL: https://forum.jogamp.org/ZipException-when-loading-native-jars-tp4027387p4027400.html
Just about finished with my loader but ran into a little hiccup. When jogamp.gluegen.UseTempJarCache is false the Platform class expects the library to exist in java.library.path. Since the path can't be modified at runtime this severely limits our loading options. I was able to work around it but the loader design is not as clean as it could be because of this restriction.
Would it be alright to add a new property ("jogamp.gluegen.LoadLibraries", defaults to true) that when false causes the Platform class to assume the libraries have already been loaded? That way in special cases the libraries can be loaded based on the discretion of the programmer and the Platform class can just relax.