The Enterprise Installer for JRE 7 Will Not Overwrite an Existing JRE or JDK at INSTALLDIR
(Doc ID 2274913.1)
Last updated on MARCH 31, 2023
Applies to:Java SE JDK and JRE - Version 7 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
Installing Java SE with the Enterprise Installer for JRE 7 fails with an obscure error if a version of Java SE already exists at the INSTALLDIR location. The error is:
The problem can be reproduced with the following steps:
- Download the JRE 7 (any update) Enterprise Installer
- Make sure there is a JRE/JDK already installed at the default install location, e.g. C:\Program Files (x86)\Java\jre1.7.0_111
- As Administrator user, double-click on the JRE 7 Enterprise Installer icon to run the installer
- Notice the install fails with the popup error as above
This can seem like unexpected behavior because the Java SE 7 standard .exe installers will install successfully if there is an existing Java SE version at the default or specified INSTALLDIR.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document