-
Enhancement
-
Resolution: Unresolved
-
P3
-
8u91, 9
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Client VM (build 25.91-b14, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 Professional 64bit
EXTRA RELEVANT SYSTEM CONFIGURATION :
We are IT Specialist for multiple larger companies and want to uninstall all older java versions while replacing them with the newest.
A DESCRIPTION OF THE PROBLEM :
When running a silent installation for deployment as the NT-Authority\SYSTEM user on a windows machine, only the new Version will be installed, although the parameter REMOVEOUTOFDATEJRES=1 is set.
I tried the same procedure with command line parameters and with a configuration file on multiple pcs, all with the same result.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install any older java version
Open a cmd as SYSTEM user (for example with "psexec.exe -i -s -d cmd")
Run jre-8u92-windows-i586.exe INSTALL_SILENT=1 REMOVEOUTOFDATEJRES=1
Wait for the process to finish
Check for installed programs
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java8u92 is installed and all older versions of java are uninstalled
ACTUAL -
Java8u92 is installed and all older versions of java are still present
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error message given. Following is the log that can be created by using the /L command.
====================================================
Log file attached
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
None, except for running the same command manually with an administrator, who is logged in.
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Client VM (build 25.91-b14, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 Professional 64bit
EXTRA RELEVANT SYSTEM CONFIGURATION :
We are IT Specialist for multiple larger companies and want to uninstall all older java versions while replacing them with the newest.
A DESCRIPTION OF THE PROBLEM :
When running a silent installation for deployment as the NT-Authority\SYSTEM user on a windows machine, only the new Version will be installed, although the parameter REMOVEOUTOFDATEJRES=1 is set.
I tried the same procedure with command line parameters and with a configuration file on multiple pcs, all with the same result.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install any older java version
Open a cmd as SYSTEM user (for example with "psexec.exe -i -s -d cmd")
Run jre-8u92-windows-i586.exe INSTALL_SILENT=1 REMOVEOUTOFDATEJRES=1
Wait for the process to finish
Check for installed programs
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java8u92 is installed and all older versions of java are uninstalled
ACTUAL -
Java8u92 is installed and all older versions of java are still present
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error message given. Following is the log that can be created by using the /L command.
====================================================
Log file attached
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
None, except for running the same command manually with an administrator, who is logged in.