Eclipse startup times wrong: No Java Virtual machine was found

Source: Internet
Author: User

The error prompts are as follows:


650) this.width=650; "Src=" http://dl.iteye.com/upload/attachment/0070/6227/ E7e2b11c-b201-385f-aad2-e828505ff989.jpg "style=" border:0px; "/>

A Java Runtime Environment (JRE) or Java development Kit (JDK) must is available in order to run Eclipse. No Java virtual machine is found after searching the following locations ...

First make sure your JDK is installed and the environment variables are configured correctly.

If there are no problems with the previous two, it is the path problem.

Because Eclipse needs javaw.exe to start, the program will look for the path directory first, and if not, it will look in the installation directory of Eclipse and will report the error if it is not found.

So you can be sure that the path is wrong. Come to the installation directory of Eclipse and find the VM in the Eclipse.ini file:


Java code 650) this.width=650; "class=" star "src=" Http://nigelzeng.iteye.com/images/icon_star.png "alt=" collection Code " Style= "border:0px;"/>

  1. -startup

  2. Plugins/org.eclipse.equinox.launcher_1. 2.0. V20110502.jar

  3. --launcher.library

  4. Plugins/org.eclipse.equinox.launcher.win32.win32.x86_1. 1.100. v20110502

  5. -product

  6. Org.eclipse.epp. package. jee.product

  7. --launcher.defaultaction

  8. OpenFile

  9. --launcher. Xxmaxpermsize

  10. 256M

  11. -vm

  12. C:/Program Files/java/jdk1. 7. 0_25/bin

  13. -showsplash

  14. Org.eclipse.platform

  15. --launcher. Xxmaxpermsize

  16. 256m

  17. --launcher.defaultaction

  18. OpenFile

  19. -vmargs

  20. -dosgi.requiredjavaversion=1.5

  21. -xms128m

  22. -xmx512m

-VM This place is the problem, check the following directory right,

Here's my problem here, change C:/Program files/java/jdk1.7.0_25/bin to C:/Program files/java/jdk 1.6.0 _25/bin

will be able to start smoothly.


This article is from the "Rista" blog, make sure to keep this source http://rista.blog.51cto.com/2526140/1621625

Eclipse startup times wrong: No Java Virtual machine was found

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.