Re: dll "Access is denied" vs "Can't load library"
Posted by
gouessej on
Mar 27, 2015; 9:32am
URL: https://forum.jogamp.org/dll-Access-is-denied-vs-Can-t-load-library-tp4034197p4034200.html
I agree with Sven.
When you disable the automated native library loading, you have to set the Java library path correctly, please look at the JOGL user's guide. Moreover, this kind of mechanism isn't specific to JOGL, LibGDX and JMonkeyEngine do something similar. The "nativeLib" feature of Java Webstart is already broken too as it doesn't work in some cases if the end user disables the local cache or if it is too small. Finally, Java Webstart is more or more broken as time goes by, I advise you to plan to look for an alternative, you could package your application as a self-contained native application bundle and implement your own update mechanism.