Eclipse2020 installs the latest version of JDK but cannot open it, suggesting that the version is too old. The perfect solution

Eclipse2020 installs the latest version of JDK but cannot open it, suggesting that the version is too old. The perfect solution

 

Reminder: This tutorial is limited to those who have configured variables in advance. If there is no configuration variable, please configure a variable first.

I believe that many beginners or friends who have just installed this software have encountered this problem. After installing Eclipse, the JVM version is too low and requires a version above 11. At this time, we went to download the high version of JDK. What I downloaded here is JDK15, but after downloading, it still prompts that the version is too low. How to solve this problem?

----------------------------------------------Dividing line, start text----------------------------------------------

1. Right-click this computer and click Properties

2. Click Advanced System Settings

3. Click Environment Variables

4. First find the Path variable in the system variables, and then click Edit

5. See these two environment variables, and then move it to the bottom

6. After moving, click OK

6. Click OK

7. Click OK again

----------------------------------------------Dividing line, modify Finished, click Eclipse to run the test------------------------------------------- ---

Sidebar: Because the Chinese package has been guided in advance, all the Chinese interface

----------------------------------------------OK, perfect solution problem! ! ! ---------------------------------------------

1. In fact, it is okay to delete those two environment variables. I have tested this (but there may be harmful effects that I don't know)

2. Personal understanding: The two environment variables are environment variables provided by the software itself, but the version is relatively low. When the program is opened, the environment variables are matched from top to bottom in the Path, and the two environment variables with the relatively low version are matched first. So it will prompt that the version is too low, and move these two variables to the bottom. When the software is opened, it will match the two variables with the configured JDK version as 15 and you can enter normally!

Guess you like

Origin blog.csdn.net/NeiHan2020/article/details/110734242