Difference in Java Versions

Are there any differences between the two versions of java. If there are any differences, how can I get the java version "1.4.2" , because that is what I have on the server.

1)

 java version "1.4.2_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) 

2)

  java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 
+4
source share
3 answers

They are very different from the implementation point of view, since the first one is from Sun and the second from IBM. Since they are from different vendors, the patch level means nothing ( _06 on Sun JDK).

In terms of behavior, they should be the same. Having said that, I remember some problems in the past with IBM jdk, in which it will work very poorly.

If you want to use the java version for IBM, you can get it from here .

+5
source

Version 1.4.2_06 contains significant bug fixes, including:

  • Null Pointer exception if JFileChooser.setCurrentDirectory () is called twice with a non-canonical file.
  • The JVM crashes during the deoptimization phase.
  • Null Pointer exception while reading rtf file in javax.swing.text.rtfRTFEdito.
  • Regression 4683022 is not performed for 1.4.2_06-b01.
  • Regression 4937429 for 1.4.2_06b1 does not match the differences in cacerts in Javaws and security directories.

Link: http://olex.openlogic.com/packages/jdk/1.4.2_06

+4
source

I suggest that you carefully compare the bug fix sections of the corresponding release notes for the corresponding versions.

Please note that the release date for version 1.4.2_06 is 2004-12-10 (in accordance with the release notes), and the IBM version name is "20090307", which means that it was created 5 years later. Although there is no guarantee that the IBM version has checked all the fixes before this date, it is a fair assumption that they will (at least) keep track of security fixes.


The reason why I posted this is because when I tried to do some deployment on the server from the command line, I had several problems, so be surprised that this might be the difference in Java versions.

Perhaps, but (IMO) is more likely that the problem has nothing to do with the Java version. In any case, I think listing the differences is unlikely to help isolate your problem.

I suggest you ask a new question in which you describe your current problems. We may or may not help ... but I think your chances of success are greater than with your current approach.

+2
source

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


All Articles