vasilis 123
vasilis 123

Reputation: 665

eclipse not opening after jdk update

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 :

enter image description here

What am I doing wrong here ?

UPDATE : I modified the path in eclipse.ini to jdk1.8.0_271 and now I get

enter image description here

Upvotes: 0

Views: 242

Answers (2)

vasilis 123
vasilis 123

Reputation: 665

I reinstalled jdk 14.02 and changed the path back to it . Now eclipse opens

Upvotes: 0

Arvind Kumar Avinash
Arvind Kumar Avinash

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

Related Questions