How to view the JRE version used by eclipse

Source: Internet
Author: User
Tags ini xms

This download is eclipse-sdk-4.2.1-win32-x86_64.zip, after decompression can be used, feel a bit strange, do not need to configure the JRE path Mody? Search a search for what others say:

The order in which the JRE is found at eclipse startup

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

2. Otherwise go to see if there is a JRE folder under the Eclipse installation directory, and use this JRE if you have any;

3. Otherwise, go to the system to find the installed JRE, if you can not find the words on the error.

"VM Parameters" are configured in the Eclipse.ini file under the Eclipse installation directory. I don't have a VM and I don't have a copy of the JRE folder, so it seems to be 3 this time around. I think the actual work can be done by placing the JRE folder to unify the development environment.

After you enter eclipse, you can view the configuration through the menu Help-->about Eclipse sdk-->installation details-->configuration. I saw the C:\Windows\system32\javaw.exe, and the initial doubt was resolved.

By the way, learn the following parameters meaning:

Xx:permsize JVM Initial allocation of non-heap memory

Xx:maxpermsize JVM non-heap memory caps

Xms JVM Initial allocation heap memory

Xmx JVM Heap Memory caps

In general, heap memory is for programs, and not heap memory is used by the JVM itself. I think that in a production environment you can configure PermSize and maxpermsize to be the same (for example, 128M), XMS and XMX are configured the same (for example, 512M).

Well, from today on, officially into the eclipse world.

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.