Eclipse Startup error No Java Virtual machine was found

Source: Internet
Author: User

When you open eclipse, the error message is as follows:

This problem occurs because eclipse cannot find the path to the Javaw.exe

Open Eclipse.ini File:

-startup
Plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
Org.eclipse.epp.package.Java.product
--launcher.defaultaction
OpenFile
--launcher. Xxmaxpermsize
256M
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
256m
--launcher.defaultaction
OpenFile
--launcher.appendvmargs
-vmargs
-dosgi.requiredjavaversion=1.6
-xms40m
-xmx512m

Add between OpenFile and--launcher.appendvmargs:

-vm
C:\Program Files\java\jdk1.8.0_31\bin\javaw.exe

The location where the Javaw.exe is added.

I follow the above method to add, still prompt the error message,

I want to C:\Program Files\java find Javaw.exe, sure enough, incredibly in the C:\Program files\ there is no Java this file (I clearly installed it),

I'm going to reload.

Attention:

The location of the installation is the location of the Javaw.exe. This is also when configuring environment variables, path needs to correspond.

Once the installation is complete, then restart Eclipse, OK.

Eclipse Startup error 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.