###@###.### 2003-06-24
Dirty Installation of 1.3.1_05 and higher on Windows OS doesn't copy newer version of java into Windows/System directory.
Steps to Reproduce:
Ensure a clean system is used (no other jdks installed)
1. Install jdk1.2.2_xx
2. Install jdk1.3.1_xx
3. Run java -version in command prompt
The following error is displayed.
> C:\JQA\ts131\VM\INI>java -version
> Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
> has value '1.3', but '1.2' is required.
I investigated this and it appears that when 1.3.1_09b1 is installed onto a
system where 1.2.2_XX is currently on the system it does not update the java
executable in the Windows/System directory as required. This system expects a
1.3.1_XX java executeable in this directory but instead finds the 1.2.2_XX
executable. The 1.3.1_XX executable is not copying into the Windows/System
directory. Running ./java -version in the Windows/System directory reveals it is indeed a 1.2.2_XX and it has not been updated with 1.3.1_XX java. This is apparent with releases from 1.3.1_05b2.
Running this scenario with 1.3.1_04b2, this same behaviour is not seen.
NB- this error only occurs with this dirty installation scenario, a clean install updates windows/system with the java executeable correctly.
Dirty Installation of 1.3.1_05 and higher on Windows OS doesn't copy newer version of java into Windows/System directory.
Steps to Reproduce:
Ensure a clean system is used (no other jdks installed)
1. Install jdk1.2.2_xx
2. Install jdk1.3.1_xx
3. Run java -version in command prompt
The following error is displayed.
> C:\JQA\ts131\VM\INI>java -version
> Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
> has value '1.3', but '1.2' is required.
I investigated this and it appears that when 1.3.1_09b1 is installed onto a
system where 1.2.2_XX is currently on the system it does not update the java
executable in the Windows/System directory as required. This system expects a
1.3.1_XX java executeable in this directory but instead finds the 1.2.2_XX
executable. The 1.3.1_XX executable is not copying into the Windows/System
directory. Running ./java -version in the Windows/System directory reveals it is indeed a 1.2.2_XX and it has not been updated with 1.3.1_XX java. This is apparent with releases from 1.3.1_05b2.
Running this scenario with 1.3.1_04b2, this same behaviour is not seen.
NB- this error only occurs with this dirty installation scenario, a clean install updates windows/system with the java executeable correctly.
- duplicates
-
JDK-4870631 JDK Dirty Install on released JDK: Windows registry and system java version prob
-
- Closed
-