When using azul 11.0.7 and OpenWebStart, I was ultimately getting the error:
Code: Select all
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:587)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:372)
at net.sourceforge.jnlp.Launcher.access$200(Launcher.java:70)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:654)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
at net.sourceforge.jnlp.runtime.classloader.SecurityDelegateImpl.getClassLoaderSecurity(SecurityDelegateImpl.java:102)
at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.setSecurity(JNLPClassLoader.java:385)
at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.initializeResources(JNLPClassLoader.java:770)
at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.<init>(JNLPClassLoader.java:348)
at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.createInstance(JNLPClassLoader.java:421)
at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.getInstance(JNLPClassLoader.java:493)
at net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader.getInstance(JNLPClassLoader.java:466)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:579)
... 3 more
From past experience there was an issue where the ipmi viewer jar was signed using MD5, since this is disabled by default, the JVM fails to validate it, and seems to treat it as unsigned.
To resolve the issue on Windows 10, I edited the file at:
%USERPROFILE%\.cache\icedtea-web\jvm-cache\azul_11.0.7\conf\security\java.security
I changed lines 648 and 649.
From:
Code: Select all
jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \
DSA keySize < 1024
To:
Code: Select all
jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024, DSA keySize < 1024
If there is a jvm-agnostic way to apply this setting in OpenWebStart, that would be ideal, or if there was a way to apply it for a specific jar file.