Due to the work relationship, I changed a laptop. After downloading Eclipse from the official website and decompressing it, I found that a prompt box always pops up after Eclipse starts, as shown in the figure:
Unable to start. Feedback from the Internet shows that there are mainly the following reasons:
(1) There is Chinese in the installation path;
(2) The downloaded version is not compatible with the operating system;
The solution for this netizen is:
(1) The installation path cannot contain Chinese;
(2) Download the version that matches the system;
(3) Upgrade java;
But I don't have any of the above two reasons, so it is impossible to solve it with the above method. The information from the pop-up box (D:\Program Files\Sysbase\Shared\Sun\JDK118\bin\javaw.exe) is probably The problem of jdk, so modify eclipse.ini according to the solution of netizens:
Add the JDK path of the red box to the file, restart eclipse, and everything is done!