Reputation: 665
I have just updated jdk to jdk1.8.0_271
and it was installed in the Java
folder with jdk-14.02
.
I then deleted jdk1.8.0_271 since I have the new jdk and modified the environment variable to the new jdk C:\Program Files\Java\jdk1.8.0_271\bin
but I keep getting :
What am I doing wrong here ?
UPDATE :
I modified the path in eclipse.ini to jdk1.8.0_271
and now I get
Upvotes: 0
Views: 242
Reputation: 665
I reinstalled jdk 14.02 and changed the path back to it . Now eclipse opens
Upvotes: 0
Reputation: 79005
Add the following configuration (better to do in the beginning) in the PATH
environment variable:
;C:\Program Files\Java\jdk-14.0.2\bin;
Optionally, put the following configuration in JAVA_HOME
environment variable:
C:\Program Files\Java\jdk-14.0.2
Alternatively,
Put the following configuration in JAVA_HOME
environment variable:
C:\Program Files\Java\jdk-14.0.2
Then, append the following configuration (better to do in the beginning) in the PATH
environment variable:
;%JAVA_HOME%\bin;
Upvotes: 1