Eclipse is an running in a JRE, and a JDK is required

Source: Internet
Author: User

Open the Eclipse folder and edit the Eclipse.ini file:please check if the file has THE-VM parameter, if not, then add it . -vmc:\program Files\java\jdk1.6.0_10\bin\javaw.exe note:it should be add before The-vmargs parameter. See my Eclipse.ini, just like the following:
-startupplugins /org.eclipse.equinox.launcher_1. 3.0 . V20120522-.jar–launcher.libraryplugins /org.eclipse.equinox.launcher.win32.win32.x86_1. 1.200 . V20120522-productorg.eclipse.epp.package.jee.product–launcher.defaultactionopenfile–launcher. xxmaxpermsize256m -showsplashorg.eclipse.platform–launcher. Xxmaxpermsize256m–launcher.defaultactionopenfile   -vmc:\program Files (x86) \java\jdk1.6.0_17\bin\javaw.exe  -vmargs - Dosgi.requiredjavaversion=1.5 -dhelp.lucene.tokenizer= standard -xms40m -xmx512m 

Attention to the bold and red characters.

I hope it'll be helpful to you! Enjoy it!

Eclipse is an running in a JRE, and a JDK is required

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.