aspose file tools
The moose likes JNLP and Web Start and the fly likes correct jre for application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply Bookmark "correct jre for application" Watch "correct jre for application" New topic
Author

correct jre for application

william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
My application needs JDK 1.4.2 to execute.When users with other versions of JDK try to access my application using web start the application doesnot launch.I therefore had to uninstall JDK versions other than 1.4.2 for launching the application.
How can i configure my JNLP file to ensure that only Jre for Java 1.4.2 is downloaded(if not present with the client) and used irrespective of the JRE installed on the client?I also need to ensure that all this happens without the end user intervention.
Thanks in advance
william


Help me!Help you!!!
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

You can specify an exact version of the JRE to run for a webstart application, and where to download it from.

However, you need to ensure that the end users have install rights on their machines otherwise it will not work.

The syntax is something along the lines of:



See http://www.vamphq.com/jwsfaq.html#jre-platform-ver for an explanation.

Cheers, Jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
 
I agree. Here's the link: http://jrebel.com/download
 
subject: correct jre for application
 
Similar Threads
How to compile servlets
MultipleJRE's
Help needed on Standlone EJB Client with WSAD-WebSphere5.0
bundling jre with an app/ print problem
Does WSAD 5.1.2 support JDK 1.4?