JOGL Demo Errors

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

JOGL Demo Errors

Borok
I am trying to learn JOGL but I am having great difficulty in setting it up.

I would like to take a look at the demos on the jogamp site here http://jogamp.org/jogl-demos/www/ but I can't get any of them to run.

This is the error I keep getting: java.lang.UnsatisfiedLinkError: C:\Users\<user>\AppData\Local\Temp\jogamp_0000\file_cache\jln8184470350729084921\jln7347934702996572695\gluegen-rt.dll: Access is denied

I don't know why it is trying to extract the dll here or why it can't access it but I have no idea how to fix the problem.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Demo Errors

gouessej
Administrator
Hi

Maybe this problem is caused by your virus scanner (F-Secure, Microsoft Security Essentials, ...).

JOGL 2 is composed of Java libraries and native libraries (DLLs under Windows). They are packaged as JARs and native libraries are extracted from JARs into a temporary directory in order to be loaded as it is impossible to load a native library within a JAR.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Demo Errors

Borok
I'm trying to run this on a brand new laptop so it only has whatever stock security options come with windows 8. I have no idea how to change these settings to allow jogl to run, Google isn't being very helpful.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Demo Errors

jmaasing
Maybe you have already tested this but to verify if there are some file permission errors,  if you go to C:\Users\<user>\AppData\Local\Temp\ and can you create directories manually?  
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Demo Errors

gouessej
Administrator
In reply to this post by Borok
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Demo Errors

Borok
Ok, well that solved it. My temp folder kept changing the permissions back which is why it wasn't working. Thanks for the help.