There is a newer version of Java 8 on this computer.

When I try to install Java 8, I get a message:

A Newer Version of this Product Already Exists

A newer build of this version of Java already exists on your system. It is not possible to install an older build. Click OK to exit this installation.

Two questions:

1) Ever since it became impossible to have multiple versions of the JDK on the computer?

2) Where can I get a newer Java than the latest?

My Java folder is as follows:

 Directory of C:\Program Files\Java

19.12.2013  20:39    <DIR>          .
19.12.2013  20:39    <DIR>          ..
27.01.2012  23:16    <DIR>          jdk1.6.0_20
08.09.2011  16:25    <DIR>          jdk1.6.0_27
05.09.2011  13:51    <DIR>          jdk1.7.0
27.04.2013  00:31    <DIR>          jdk1.7.0_21
04.10.2013  01:33    <DIR>          jdk1.7.0_40
19.12.2013  20:41    <DIR>          jdk1.7.0_45
08.09.2011  16:21    <DIR>          jre6
19.12.2013  20:41    <DIR>          jre7
21.11.2013  00:41    <DIR>          jre8
+4
source share
2 answers

I manage to avoid this message and install the JDK by deleting the following registry entry:

HKLM\SOFTWARE\JavaSoft

After that, the JDK installer will ask you if you want to reinstall it.

+2
source

Steps to fix this problem:

enter image description here

Temporarily remove the values ​​in jdk in these environment variables:

JAVA_HOME ( ), CLASSPATH ( ), PATH ( )

Reset .

, "CurrentVersion", "Java Development Kit".

enter image description here

0

Source: https://habr.com/ru/post/1536493/


All Articles