Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reasons and advantages for upgrading to Java 6 for a non-technical decider (at the client)

People also ask

Why should I upgrade Java?

The latest Java patches contain important enhancements to improve performance, stability and security of the Java applications that run on your machine. Installing these updates will ensure that your Java applications continue to run with the most up-to-date version.

What are the diff between Java 6 and Java 8?

The most obvious reasons for moving from Java 6 to Java 8 are new language features and security improvements. Aside to this, Java 8 is a bigger milestone in the Java programming language history and brings Java development to a completely new level.

Which version of Java should I use?

Standard Edition (SE) The standard edition is the core Java programming platform. It includes all of the core libraries and APIs that every Java programmer needs to be familiar with. For most developers (especially those just getting started) the standard edition is the most appropriate.

What is the latest version of Java at this current time?

Java Platform, Standard Edition 11Java SE 11.0. 16 is the latest release of Java SE 11 Platform.


Java 5 is now well past its end-of-life date. Sun/Oracle will no longer issue public updates to it.

Java SE 5.0 is in its Java Technology End of Life (EOL) transition period. The EOL transition period began April 8th, 2007 and will complete October 8th, 2009, when Java SE 5.0 will have reached its End of Service Life (EOSL).

If you find a bug in Java5 now (e.g. a hotspot crash - they do happen), you're screwed. If you have a dedicated support contract with Sun/Oracle, which they do offer for those stuck on obsolete versions, then they can fix it for you.

You could argue that the risk of staying on an unsupported platform is greater than the (more manageable) risk of migrating.


Over time, the client will increasingly need to upgrade because of things like:

  • Java 5 not being supported on some new hardware or operating system platform,
  • poor performance relative to newer Java releases,
  • greater coding and testing costs relative to newer Java releases; e.g. due to the "clunkiness" of older APIs, not being able to use streams, etc
  • increasing cost of vendor support1: you have to pay for support to get security patches, and the older the release the more you pay (I think)
  • difficulty of retaining Java developers to work on Java 5 projects,
  • third party Java libraries no longer being developed and supported for Java 5,
  • compliance issues; e.g. https://stackoverflow.com/a/3434063/139985
  • and so on.

But the longer the client delays upgrading, the larger the Java version jump involved, and more work (and potentially pain) that will be involved.

And the longer the client delays, the larger the accumulated costs of things like hardware provisioning, developer costs, deferred projects and so on.

To illustrate, suppose that you had waited 10 years to upgrade from Java 1.1 to Java 1.2. That would mean that you would have spent extra 10 years developing applications that used Hashtable and Vector as their primary data structures. And when you finally upgraded you would have 10 years worth of additional "legacy" code that is more difficult to maintain than if it had been written using Java 1.2 collections.

But the bottom line is that if the client insists on staying an old version of Java, you need to either go along with their wishes (and make sure that you pass on the extra costs!), or find a way to exit your contractual relationships with the client.


1 - The End of Life / End of Service dates vary from one vendor to the next, but AFAIK all major vendors have EOL'd Java 5 by now. Indeed Oracle have EOL's Java 6 and Java 7 as well.


From the source:

Q: How is Java SE 6 different from the previous version (J2SE 5.0): what are the improved and updated areas, such as functionality, security, performance?

A: Anyone who has existing Java applications, will benefit immediately from the performance, reliability, and UI improvements in Java SE 6. Coupled with the expanded monitoring and diagnositics capacities built into the platform, the release delivers dramatic out-of-the-box benefits without any coding changes or even a re-compile necessary. Simply running existing Java applications on this latest release is all that is needed.

More on the same matter (may be of help to elaborate more to the client):

Top 10 Reasons to Upgrade to Java 6

Why should I upgrade to Java 6?


Rather than convince him that there are no risks, I would suggest instead working with him to come up with a risk mitigation strategy.

In other words, agreeing that if you can show that the system running under Java 6 passes tests X, Y and Z he'll be happy to upgrade.


Staff recruitment/retention becomes an issue if the application is seen to be old fashioned. Developers do not usually want to stick around if they see no progression.


Just tell him that's it's a minor upgrade: show him that the version goes from 1.5 to 1.6 using the "-version" command. :)


Since you seem to be aware of all obvious benefits of java 6, and the client has good reason to be conservative, all that's left is to stress that not switching to java 6 will hamper development.

Development will be slower because you will undoubtedly spend time on implementing functionality you get for free in newer releases. And perhaps worst of all, not upgrading on a regular basis makes an upgrade more painful as time goes by, up to the point where it becomes practically impossible.

Typically, overdue upgrades result in a highly unpredictable scenario, with a resulting production loss across the entire company over a longish period of time. (assuming the software impacts a large enough user base within the company)