aspose file tools*
The moose likes Java in General and the fly likes Can Upgrade of JRE Cause Problem for Java Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Can Upgrade of JRE Cause Problem for Java Application" Watch "Can Upgrade of JRE Cause Problem for Java Application" New topic
Author

Can Upgrade of JRE Cause Problem for Java Application

Dave Manley
Greenhorn

Joined: Sep 05, 2006
Posts: 6
We are planning to develop an application for fire department use. It has to run on the desktop and have very high (99.5%) uptime. We have had problems with some of our Applet applications when the organization pushes new JRE updates. Are Java applications suseptible to the same problems?


Dave Manley<br />SCJP 1.4, SCWCD 1.4, SCEA 5
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 19060
    
  40

I would like to say "no", because Java is supposed to be backward compatible.... However, with many many years of experience, I am still amazed with the ridiculous subtle issues that sometimes arise when anything get upgraded.

So, it would be a really good idea to test it first.


Dave Manley wrote:Are Java applications suseptible to the same problems?


Just in case my response is too subtle... Yes. All applications are susceptible to problems caused by upgrades -- including Java applications.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40034
    
  28
Look particularly through the code for boxing and un-boxing, use of "enum" as an identifier, etc. Don't recompile old classes if you can possibly help it.
Craig Zeise
Greenhorn

Joined: Apr 09, 2010
Posts: 1
An option that I've seen used rather effectively is including a jre with your application and providing batch files to start your programs that explicitly use the jre that you've included.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can Upgrade of JRE Cause Problem for Java Application