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 Files
folder. The problem is that whenever I want to open the JWS application, it opens using Java 7. Even if I use the javaws
executable from JRE 6, some properties still refer to JRE 7 files (I verified this by using javaws -verbose app.jnlp
. How can I force JRE 6 just for this application?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
you have to do in manually by doing following simple process,
Use an appropriate
version
attribute in thej2se
element.Warning
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 explicitly use the
javaws.exe
from the JRE you want, like this:But please have other answers in mind, like j2se version setting and jnlp spec.
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)