I have a Java webstart application that requires Java 7+, so the JNLP has this line:
<j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se"/>
This works on various Windows XP & Windows 7 machines (most of them also having Java 6 installed) but on one of them, webstart is launched with Java 6 and fails (wrong version of JRE). I found this post and checked the Java settings and they look fine:
I have also tried changing the JNLP line to this but it still does not work:
<j2se version="1.7+"/>
Any ideas on how to let webstart know that the JRE 1.7 is there?
Config: Windows 7, run as administrator - webstart application launched from IE.
Select the 'Default apps' category, then select the 'Choose default apps by file type' link. 4. Scroll down to the '. jnlp' file type and select 'Java Web Start Launcher' as the default app.
Java Web Start is included in the Java Runtime Environment (JRE) since release of Java 5.0. This means that when you install Java, you get Java Web Start installed automatically.
Right-click a JNLP file and click “Open With.” Select the “Java Web Start Launcher” application in the list or click “Browse,” browse to the “C:\Program Files (x86)\Java\jre[version]\bin” folder on your computer and double-click the “Javaws.exe” program file.
Java Applet and WebStart functionality, including the Applet API, The Java plug-in, the Java Applet Viewer, JNLP and Java Web Start including the javaws tool are all deprecated in JDK 9 and will be removed in a future release.
I found the problem. I had Java 6 32bits & 64bits installed, but Java 7 only had the 64bits version installed. And I was launching the webstart link from Internet Explorer 32 bits, which I suppose cannot use a 64 bits version of JRE.
Launching the webstart from IE 64 bits worked fine.
Thanks for your comments, I figured the problem out while doing one of the manipulations you recommended.
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