File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes JNLP does not trigger JRE installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "JNLP does not trigger JRE installation" Watch "JNLP does not trigger JRE installation" New topic
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNLP does not trigger JRE installation