-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b01
-
x86
-
other
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8212375 | 8u202 | Alexey Semenyuk | P2 | Closed | Fixed | b01 |
JDK-8207660 | 8u192 | Alexey Semenyuk | P2 | Closed | Fixed | b02 |
JDK-8202453 | 8u181 | Alexey Semenyuk | P2 | Closed | Fixed | b05 |
JDK-8211605 | emb-8u191 | Alexey Semenyuk | P2 | Resolved | Fixed | master |
JDK-8203105 | emb-8u181 | Alexey Semenyuk | P2 | Closed | Fixed | b05 |
FULL PRODUCT VERSION :
C:\Program Files\Java\jdk1.8.0_161\bin>java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.3.9600]
A DESCRIPTION OF THE PROBLEM :
This is on a server running Jenkins CI using 1.8.0_161 x64 JRE.
For some debug information on a hanging java thread I needed jcmd, so downloaded the sibling JDK, got my thread dumps and then continued, only to discover that Jenkins is now unable to start any java process:
[tools] $ cmd.exe /C "c:\jenkins\tools\hudson.tasks.Ant_AntInstallation\Ant\bin\ant.bat -file build.xml -Ddlc=oe11.6 update-json-demo-database && exit %%ERRORLEVEL%%"
'"java.exe"' is not recognized as an internal or external command,
operable program or batch file.
Build step 'Invoke Ant' marked build as failure
Looking at the folders - I found out that my JRE installation had been wiped out - for as far as the JDK installer could. Some files were really really in use and could not be wiped.
The in use files frustate the issue even further since the in use files prevent any repair attempt since the JRE installer refuses to install in a directory that is not empty.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. install JRE
2. install JDK
3. look at JRE folder
4. gasp - the JRE folder has been wiped out
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
4. smile - the JRE folder is still in place
ACTUAL -
4. gasp - the JRE folder has been wiped out
REPRODUCIBILITY :
This bug can be reproduced always.
C:\Program Files\Java\jdk1.8.0_161\bin>java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.3.9600]
A DESCRIPTION OF THE PROBLEM :
This is on a server running Jenkins CI using 1.8.0_161 x64 JRE.
For some debug information on a hanging java thread I needed jcmd, so downloaded the sibling JDK, got my thread dumps and then continued, only to discover that Jenkins is now unable to start any java process:
[tools] $ cmd.exe /C "c:\jenkins\tools\hudson.tasks.Ant_AntInstallation\Ant\bin\ant.bat -file build.xml -Ddlc=oe11.6 update-json-demo-database && exit %%ERRORLEVEL%%"
'"java.exe"' is not recognized as an internal or external command,
operable program or batch file.
Build step 'Invoke Ant' marked build as failure
Looking at the folders - I found out that my JRE installation had been wiped out - for as far as the JDK installer could. Some files were really really in use and could not be wiped.
The in use files frustate the issue even further since the in use files prevent any repair attempt since the JRE installer refuses to install in a directory that is not empty.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. install JRE
2. install JDK
3. look at JRE folder
4. gasp - the JRE folder has been wiped out
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
4. smile - the JRE folder is still in place
ACTUAL -
4. gasp - the JRE folder has been wiped out
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8211605 JDK installation uninstalls public JRE
- Resolved
-
JDK-8202453 JDK installation uninstalls public JRE
- Closed
-
JDK-8203105 JDK installation uninstalls public JRE
- Closed
-
JDK-8207660 JDK installation uninstalls public JRE
- Closed
-
JDK-8212375 JDK installation uninstalls public JRE
- Closed
- duplicates
-
JDK-8186664 JRE reinstall attempt uninstall the exisiting installation without warning
- Closed
- relates to
-
JDK-8181474 JDK silently uninstalled upon reinstall attempt
- Closed
(1 duplicates, 1 relates to)