| Author |
JNLP does not trigger JRE installation
|
prashant barthwal
Greenhorn
Joined: Sep 12, 2011
Posts: 1
|
|
Hi
I want to launch my application with a minimum version of jre(i.e. 1.6.0_10). If on the system there is no jre installed
or jre installed on the system is older than 1.6.0_10, i want jnlp to trigger the installation of jre 1.6.0_25.
I tried following jnlp tags in my jnlp file:
<java version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
<j2se version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
None of the above tags trigger the installation of jre if on the system there is no jre installed
or installed jre is older than 1.6.0_10.
Any help would be great.
Thanks in advance.
|
 |
Mathew Broughton
Greenhorn
Joined: Oct 03, 2011
Posts: 3
|
|
If there is no JRE at all then you will need to create a script to check what version (if any) of java is installed.
These scripts have already been written - so just create a web page that calls the script and get that to point to your jnlp file.
http://download.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deployingApplications
|
 |
 |
|
|
subject: JNLP does not trigger JRE installation
|
|
|