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 correct jre for application 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 "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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: correct jre for application
 
Similar Threads
bundling jre with an app/ print problem
Help needed on Standlone EJB Client with WSAD-WebSphere5.0
Does WSAD 5.1.2 support JDK 1.4?
How to compile servlets
MultipleJRE's