Eclipse cannot open, error "Java was started with exit code=13"

Source: Internet
Author: User

When you just opened eclipse, an error window appears.

1. Look at the Java version, found in the 1.8 version, remember that you manually installed before the Java should be 1.7 or lower version. Reminds me that the system always reminds the Java to have the update, recently did not receive the reminder. The installation should be selected after a reminder.

Java-version

Java Version "1.8.0_45"
Java (TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot (TM) Client VMs (build 25.45-b02, mixed mode, sharing)

2.win7 install the which command, view the default directory for Java.exe

GNUWIN32 packages has which, click Setup to download the installation files, install. There will be an error message when the installation is complete. However, after use, the error hints do not affect the use of which.

which Java

C:\ProgramData\Oracle\Java\javapath\java. Exe

3. Delete the C:\ProgramData\Oracle\Java\javapath directory in the path of the environment variable

Look closely at the values of each environment variable in path, and discover that the environment variables for Java 7 that you wrote earlier are behind C:\ProgramData\Oracle\Java\javapath, and Windows C:\ProgramData\Oracle\ After finding Java.exe in Java\javapath, no further searches are made.

http://stackoverflow.com/a/26709519/1767800

Eclipse cannot open, error "Java was started with exit code=13"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.