Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installation of JRE

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a Windows-based GUI application that I wrote as a Java standalone application. I want to create a nice InstallShield installation set for it and make it as easy as possible for users to install on their Windows desktop. How do I install the Java JRE?
I can make the installation of the Java JRE as part of my install set. But others have suggested that I should check to see if the Java JRE is already loaded on the customer's machine.
My concern is...These will be relatively unsophisticated PC users. I DON'T want them to make any judgements about the Java JRE. I wouldn't have to worry about this if I programmed the application in Visual C++. So why should I have to worry about it with a Java app?
In fact, there is NO reason the end user needs to know that this app was written in Java. I want to avoid asking them "Is the Java JRE loaded? Where is the JAVA_HOME directory?" This would be silly to ask the typical noprogrammer I think.
Am I going to be able to create such a streamlined installation?
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
InstallSheild can be configured to do the checking for you. It will check the Windows Registry to see what JRE is already installed and use that if appropriate, and if not it will offer a standard installation dialog that the use does not have to do anything but hit the OK button.
 
This tiny ad will self destruct in five seconds.
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic