A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
JNLP and Web Start
How to specify a JRE range in jnlp file?
Joined: Oct 17, 2008
Jun 10, 2010 15:30:18
We have a
app which uses Java Web Start. The jnlp file is configured with [j2se version="1.5+"]. So if JRE 1.5 and 1.6 are installed, the app is run on 1.6.
Now, we have requirement where the app should be restricted to run only within the range - JRE 1.5.0_07 through JRE 1.5.0_17
[j2se version="1.5*"] will not work - it will always launch the app with the latest jre from 1.5 family.
I can request an exact product version by including the href attribute. [j2se version="1.5.0_14" href="http://java.sun.com/products/autodl/j2se"/]
But how do I specify a specific range of JREs in the jnlp file so that JWS picks up a JRE from that range only? So if 1.5.0_07, 1.5.0_17 and JRE 6 are installed, it should run the app on 1.5.0_17.
Can JNLP really allow you to select specific range of JREs? Is there a good way to accomplish this? Please help.
SCJP 1.4, SCEA 5 (Step 1)
Joined: Oct 10, 2009
Jul 02, 2010 03:10:09
Use multiple entries, for example:
<j2se version="1.3" initial-heap-size="64m"/> <j2se version="1.4+"/>
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to specify a JRE range in jnlp file?
java web start (jre) incompatibilities
Running jdk 1.5 and 1.6
jnlp controle version
j2se tag with differents versions ????
JDK version vs JRE version
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014