Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

correct jre for application  RSS feed

Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 for an explanation.

Cheers, Jared.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!