Re: dll "Access is denied" vs "Can't load library"
Posted by
Sven Gothel on
Mar 26, 2015; 9:26pm
URL: https://forum.jogamp.org/dll-Access-is-denied-vs-Can-t-load-library-tp4034197p4034198.html
On 03/26/2015 06:56 PM, runiter [via jogamp] wrote:
> It appears that there is a problem with the way both jogl and webstart deal
> with dll files.
>
> If you I let jogl to deal with dll some of customers report this exception:
>
> java.lang.UnsatisfiedLinkError:
> C:\Users\<user>\AppData\Local\Temp\jogamp_0000\file_cache\jln6017272868593155272\jln2310512220959375414\gluegen-rt.dll:
> Access is denied
>
I doubt this happens w/ JOGL 2.3.0,
since we test executable access of temp folder quite excessive now, see:
<
https://jogamp.org/bugzilla/show_bug.cgi?id=1108#c6>
<
http://jogamp.org/git/?p=gluegen.git;a=commit;h=181dc8ae227cd5cbecf60ab8d973bb8eef7c45f0>
However .. if no temp folder could be found,
GlueGen/JOGL will fail of course!
Please retest w/ 2.3.0 ..
~Sven