I'm trying to launch a java app via web start and I'm getting the following error which I can't seem to figure out. Any hints, tips or tricks to resolve this would be greatly appreciated.
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="http://javadl.sun.com/webapps/jawsautodl/AutoDL/j2se/">
<information>
<title>J2RE 1.5.0_22 Installer</title>
<vendor>Sun Microsystems, Inc.</vendor>
<homepage href="null"/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java href="http://java.sun.com/products/autodl/j2se" version="1.3+"/>
<jar href="http://javadl.sun.com/webapps/jawsautodl/AutoDL/j2se/javaws-j2re-inst.jar" download="eager" main="false"/>
<property name="installerLocation" value="jre-1_5_0_22-linux-i586.bin"/>
<property name="installerSize" value="17283082"/>
<property name="javaVersion" value="1.5.0_22"/>
<property name="platformVersion" value="1.5"/>
<property name="licenseSize" value="13238"/>
<property name="waitString.0" value="[yes or no]"/>
<property name="responseString.0" value="yes"/>
<property name="osplatform" value="linux-i586"/>
</resources>
<installer-desc main-class="com.sun.webstart.installers.Main"/>
</jnlp> ]
at com.sun.javaws.JnlpxArgs.executeInstallers(JnlpxArgs.java:500)
at com.sun.javaws.Launcher.prepareResources(Launcher.java:993)
at com.sun.javaws.Launcher.prepareAllResources(Launcher.java:621)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:327)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:199)
at com.sun.javaws.Launcher.launch(Launcher.java:116)
at com.sun.javaws.Main.launchApp(Main.java:417)
at com.sun.javaws.Main.continueInSecureThread(Main.java:249)
at com.sun.javaws.Main$1.run(Main.java:111)
at java.lang.Thread.run(Thread.java:662)
Sometimes, your system might not recognize JNLP files properly for executing them with the Java Web Start application. In such cases, you will have to modify the file association of your computer to correctly open the JNLP files with the Java Web Start application.
Highlight the JNLP file by tapping or clicking . JNLP under the Extensions column, then tap or click on Change Program. Tap or Click Java™ Web Start Launcher from the list of programs. If you do not see Java Web Start Launcher listed, tap or click More options then Look for another app on this PC.
Open Group Policy panel. User Configuration -> Administrative Templates -> Microsoft Edge. Find list of file types that should be automatically opened on download -> Enable and add JNLP value to options. Apply this policy setting.
When "Web Start" run the installer-desc class, needs to know the result of the installer. If it don't get answer then the exception appears.
Communicate with "Web Start" in this way:
ExtensionInstallerService installerService =
(ExtensionInstallerService) ServiceManager.
lookup("javax.jnlp.ExtensionInstallerService");
//Say Successfully
installerService.installSucceeded(false);
//Say failure
installerService.installFailed();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With