Eclipse Java was started but returned exit code = 1

Source: Internet
Author: User

Download the corresponding operating system version number file from http://www.eclipse.org/downloads/official website, for example, Windows bit, and then open eclipse.exe after downloading to prompt Java was started Returned exit code = 1 and so on the wrong projectile layer,

When eclipse starts, the default is to use the JRE found in the Windows system directory as the default environment, and the JRE in the system directory does not match the actual Java installation, so there is a case for running the Eclipse times error.

Solution: Edit Eclipse.ini, add the path description of the JVM, and must include the following code before-vmargs

-vm

D:\Program Files\java\jdk1.7.0\bin\javaw.exe still not,

OK, check the code of the official website (Http://wiki.eclipse.org/Eclipse.ini) solution, add the following code:

-vm
D:\Program Files\java\jre7\bin\server\jvm.dll

OK, the problem is solved.

Eclipse Java was started but returned exit code = 1

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.