Recommended updating Java source from 1.4.2 to 1.6.0_10? (skipping 1.5)

Our desktop only for work uses JDK 1.4.2 so far (also 1.4.2 JRE comes with the product). I am trying to convince the management to allow us to switch to a newer version in order to get productivity, API / features and developer benefits.

Since 1.5 has reached the EOL transition, I am thinking of upgrading to 1.6.0_10 directly (Update 10 is chosen as important). From a code point of view, all compilation errors are simply the names of variables under the name enumthat I renamed, and the product works fine.

Question:

  • Is this update / penalty recommended, i.e. a 1.5 pass? are there any tricks
  • If so, should I upgrade to 1.6u10 or the latest 1.6 available?

thanks

+3
source share
9 answers

I would say that if you are going to upgrade, then go to any last update. In fact, you can get some free profit with 1.6, I know that some JVM improvements have been made since 1.4.

+5
source

In general, Java is pretty good in reverse.

If you need to find out what has changed on the Java platform from 1.4 to 6, there is a list of changes that Sun has indicated for each version:

+3
source

, , , API, , Java . , JRE.

+2

Java, , , API .

- Java.

0

( Swing) 1,3 1,6:)

( UAT-) ( , UI-). PTE ( ), ( GC intern()).

, - EOL 1.6 1.5. 1.6 .

0

Java 6 1.5. JRE , . , ( 1,5 1,6) , . , .

0

/, 1,5?

, 1.5 1.6, , 1.5.

, 1.6u10 1.6?

. , , 1.6u16 .

0

Swing- ( ) 1.4 1.6, , , Java. Nimbus Look and Feel, Windows Windows.

, , , jvisualvm .

0

Swing . ( 1.3 1.4 1.4 1.5, 1.6 - ). 1,5. 1.6, , , 1.5, 1.5, - 1.6. 1.6.

, 1.6_u10 - . u10 ( ), Swing, , u10.

0

Source: https://habr.com/ru/post/1718386/


All Articles