The principle and configuration of the JRE using the eclipse

Source: Internet
Author: User

Recently to configure the Eclipse environment, mark some of these methods.

After downloading the Eclipse SDK we will associate the JRE, because the eclipse boot requires the JRE.

The order in which the JRE is looked up when Eclipse starts:

1, if the-VM parameter is configured in Eclipse.ini, then the JRE specified by this parameter is used;

We can add complete associations by adding them to the Eclipse.ini, for example:

-vm

D:\jre\bin\javaw.exe

Note: Be sure to add two lines above the-vmargs line (path with or without spaces, forward slash backslash, and case insensitive)

2, otherwise go to see if there is a JRE folder under the Eclipse installation directory, and if so, use this JRE;

We can complete the association by copying the JRE directory directly to the Eclipse directory.

Note: Remember to put Jre6 or jre7 ... File name modified to JRE

3, otherwise go to the system to find the installation of the JRE, if you can not find the error.

We can complete the association by setting the JRE path (eg:D:\jre\bin) in the current user environment variable path or the general environment variable path

Note: The bin path to the JRE.

One of them, do not repeat, lest unnecessary mistakes.

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.