How to specify the JDK in Eclipse.ini

Source: Internet
Author: User

In the installation directory of ECLISEP, open the Eclipse.ini file, add this line, as shown in red below, note that in front of the-vmargs, the difference is: The second way, in addition to the eclipse process will also start a Java process. Many times when you start eclipse it will be reported could not carea the Java Virtual machine, A fatal exception ... Exception, you can modify the Eclipse.ini to specify its JDK to start the test again.

-vm
C:/Program Files (x86)/java/jdk1.8.0_05/jre/bin/client/jvm.dll

-startup
Plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-install
C:/Program Files (x86)/IBM/SDP
-vmargs
-xmx1024m
-xquickstart
-xms40m
-xgcpolicy:gencon
-xscmx96m
-xshareclasses:name=ibmsdp_%u
-xnolinenumbers
-xx:maxpermsize=512m

Or add such a sentence:

-vm
C:/Program Files (x86)/java/jdk1.8.0_05/jre/bin/client/jvm.dll

How to specify the JDK in Eclipse.ini

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.