Application throws security exception when starting as Applet

Hey Community,

Whenever I start my application as web start I get the same problem:

[java] access denied (java.util.PropertyPermission user.dir read)

at Source)

at Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)

at java.lang.System.getProperty(Unknown Source)

at Source)

at Source)

at Source)

at Source)

at com.jme3.system.Natives.getExtractionDir(

at com.jme3.system.Natives.extractNativeLibs(

at com.jme3.system.JmeDesktopSystem.initialize(

at com.jme3.system.JmeDesktopSystem.newContext(

at com.jme3.system.JmeSystem.newContext(




at GUI.Main.main(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sun.javaws.Launcher.executeApplication(

at com.sun.javaws.Launcher.executeMainClass(

at com.sun.javaws.Launcher.doLaunchApp(


at Source)


Do you have any ideas why Application needs permission on user folders?

Thank you for any help.


You somehow don’t create the applet right, since its containing native libraries the setup is a bit more complicated, its explained on the lwjgl homepage. You can also just use the SDK which sets the AppletHarness and lwjgl binaries up automatically.

I did use the SDK to generate the Applet. Haven’t said that, sorry. Do I have to consider anything when building it?

Ok sorry, I now solved the problem by signing my application, but I still don’t get it to work as an applet ON a website. It just loads 90% and then stucks.

I see you’re using Java WebStart applet, that is not the preferred way. You have to go to the project settings and then enable applets in the build settings.

If you still want to use Java WebStart, you have to include the lwjgl extension ( in the WebStart options and then call JmeSettings.setLowPermissions(true) in your applet’s init() method