The principle and configuration of the JRE using the eclipse

Source: Internet
Author: User

There are some ways to configure the eclipse environment in the near future, Mark.

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

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

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

We are able to join the Eclipse.ini by adding a complete link, such as:

-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 no distinction between uppercase and lowercase)

2, otherwise go to see if there is a JRE folder under the Eclipse installation folder, assuming that the JRE is used in some words;

We were able to complete the association by copying the JRE folder directly to the Eclipse folder.

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

3, otherwise go to the system to find the installed JRE, if you can not find the words on 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.

Choose 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.