Access denied (LWJGL Cache)

Started by th3barri3, October 25, 2012, 05:17:37

Previous topic - Next topic

th3barri3

For some unkown reason lwjgl is getting this exception when downloading packages. Just for clarity this is a applet running from filesystem not web server. I known what the exception is, i don't know why.

java.io.FileNotFoundException: C:\Users\Admin\AppData\Local\Temp\lwjglcache\localhost\gbk alpha (Access is denied)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(Unknown Source)
   at java.io.FileOutputStream.<init>(Unknown Source)
   at org.lwjgl.util.applet.AppletLoader.downloadJars(AppletLoader.java:1476)
   at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:871)
   at java.lang.Thread.run(Unknown Source)

Many thanks.

CodeBunny

What are the read permissions for that directory?

kappa

What version of LWJGL are you using? (ensure you use the latest LWJGL 2.8.4).

Maybe the cache directory has corrupted it self somehow, or it (or some file in there) is being used by some other application, try delete the "gbk alpha" directory to see if it helps.

th3barri3

Hi thanks for your help. The problem still hasn't been fixed :'(
I have ruled out a browser problem by testing it on multiple browsers. I think i'm going to write a custom applet launcher because Im creating my codebase along side my project anyway.

In response to CodeBunny...
I have checked the read/write permissions and they are all fine. Java is the owner of the folder due to it being the creator of it.

In response to kappa...
I am using the latest LWJGL, Version 2.8.4 and I deleted the whole cache folder multiple times with no luck. Windows didn't throw the in use by an application warning either.