This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNLP does not trigger JRE installation

 
prashant barthwal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
Hibernate IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic