I have Java 6-based Java Web Start application that I need to open on a Windows machine. The machine has JRE 7 installed, with JRE 6 copied manually to the Program Fil
Jnlp jre settings are under Java settings which is in Control Panel.
Go to Control Panel and search "Java". In my case it is Java (32-bit). Open it and select Java tab, then Java Application Runtime Settings
I have Java 6-based Java Web Start application ..How can I force JRE 6 just for this application?
Use an appropriate version
attribute in the j2se
element.
<resources>
<!-- Any 1.6 JRE -->
<j2se version='1.6*'>
...
</resources>
This solution no longer seems to work for installing earlier versions of the JVM!
The best reason I can think of for why it would fail to work is that Oracle is tiring of releasing security updates for earlier Java versions - so is forcing every user to use the latest JVM.
Just drag link of jnlp file over appropriate version of javaws and it "Open with"picture how to open jnlp with javaws MacOS users usually open files the same way
I had the exact same problem. I created a bat file that changes the JAVA_HOME variable, then uses javaws to run the jnlp file and it worked for me.
Contents of the bat file:
SET "JAVA_HOME=[path to your jre folder]"
javaws [path to your jnlp]
Hope it helps :)
Another plausible solution that worked for me was to rename the javaws.exe(javaws2) program file of the most recent JRE/JDK since JVM always search for the newest version installed. If you need to rollback changes, just rename again to the original value
I realize this is the oldest post ever, but it came up when I searched for a similar problem. Easiest way to deal with this (as a one time solution that won't affect the system overall) is to install a parallel older version of Java, and drag the jnlp on to the javaws.exe. (I had a web app that used Java 5 and wouldn't open otherwise)