Java source upgrade from 1.4.2 to 1.6.0_10 recommended ? (skipping 1.5)

user177886 picture user177886 · Sep 23, 2009 · Viewed 11.4k times · Source

Our desktop-only product at work has been using JDK 1.4.2 until now (also 1.4.2 JRE shipped with product). I am trying to convince the management to let us upgrade to a newer version in order to get the performance, API/features and developer comfort benefits.

Since 1.5 has reached EOL transition, I'm I thinking of the upgrade to 1.6.0_10 directly (update 10 chosen as it is a major one). In terms of code, all compile errors are just variable names called enum which I have renamed and the product works fine.

The question is

  • Whether this upgrade is recommended/fine i.e. skipping 1.5 ? are there any catches
  • If yes then should I upgrade to 1.6u10 or the latest 1.6 available ?

Thanks

Answer

Gandalf picture Gandalf · Sep 23, 2009

I would say if you are going to do the upgrade then go for whatever the latest update is. You may actually get some free performance gains going with 1.6, I know some JVM improvements have been made since 1.4.