Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

In a nutshell, I have a java app that crashes in java.lang.ExceptionInInitializerError and I'm looking to see if my OS/Java settings might be causing this error.

I cannot change the security settings in the Java Control Panel (OSX 10.8.3). There is a checkbox that says "Enable Java content in the browser", and I can check it, but when I click in the Apply button, it unchecks it again (looks like a bad joke, why the check is enabled if I cannot change it ?!).

Furthermore, I cannot modify the security level options since they are always grayed out independently of what I do.

There is a way to modify these security settings ?

Below a picture of the Java Control Panel as it is shown in my machine.

Here a picture of my problem

The context of this question is that I am trying to execute a (safe) jnlp application, but it keeps throwing the Security exception shown below:

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:399)
at java.lang.Class.newInstance0(Class.java:370)
at java.lang.Class.newInstance(Class.java:322)
at com.sun.javafx.applet.FXApplet2.init(FXApplet2.java:63)
at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(FXApplet2Adapter.java:207)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.net.useSystemProxies" "write")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:364)
at java.security.AccessController.checkPermission(AccessController.java:560)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.System.setProperty(System.java:783)
at ensemble.Ensemble2.<clinit>(Ensemble2.java:77)
... 10 more
Ignored exception: java.lang.ExceptionInInitializerError

So I thought modifying temporarily the security settings may help.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.