During the installation of exe files, Java files are copied to the Windows System32 folder, check this location ( C:\Windows\System32
), java.exe, javaw.exe and javaws.exe are available there.
What you need to do now, replace this exe with jdk 1.6 exe and open a new command prompt and check the version.
source share