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 Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with JVM version overwritten in registry

 
Kathy Doto
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our program uses jvm version 1.4. This is set up on the client machine when it is installed. The problem is that the user installed another product afterward which changed the version of jvm in the registry. Our product would not run without the registry setting being changed back. We wanted an automatic way of dealing with this to avoid this sort of problem. What is the best solution?
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A solution (questionable whether or not it's the best solution), would be to bundle a "private" JVM with your application.
Products such as InstallAnywhere (http://www.zerog.com) will give you this option when creating an installer for your app, this way, modifications to the "global" JVM on the user's machine will not affect your application.
 
Kathy Doto
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your reply. Is this feature also available in InstallShield 5.5?
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know much about InstallShield.
Why don't you check their website, see if you can track down that info.
[ September 17, 2003: Message edited by: James Swan ]
 
Chris De Vries
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said in the other thread where you asked this questions, I think Java Web Start is a good choice for selecting and automatically downloading the appropriate java run time environment. It is also a cross-platform solution.
 
Kathy Doto
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using a C++ application in which some menu items call Java applications. We are not doing any web development. I don't understand the use of Java Web Start in this context.
 
Chris De Vries
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the mixture of C++ and java then it is probably not a good solution, however Web Start can be a good platform for distributing and installing desktop java applications be it from the web or from CD rom.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic