简体   繁体   中英

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:

在此处输入图像描述

What am I doing wrong here?

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

在此处输入图像描述

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;

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM