My Oracle Support Banner

[Java SE] Why Does Java SE 6 or Java SE 7 Get Executed on Windows Systems when Java 8 Is the Default Java Version? (Doc ID 2250658.1)

Last updated on NOVEMBER 12, 2023

Applies to:

Java SE JDK and JRE - Version 8 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

Goal

With Java SE 8 and Java SE 6 installed on Windows systems, the intention is for Java SE 8 to be the system default Java version.  However, a copy of the Java SE 6 runtime has been pushed into the C:\Windows\System32 folder.  Because C:\Windows\System32 is higher in the path then the default Java installs in C:\Program Files\Java\jre6\bin and C:\Program Files (x86)\Java\jre6\bin, the version (Java 6) in the System32 folder is getting run instead of the intended Java 8 system default.

Why are the Java SE 6 executables pushed to C:\Windows\System32 and how to remove them so the default Java SE 8 runs instead?

Solution

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
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.