Eclipse JRE settings

Source: Internet
Author: User

Today, I learned a trick from my boss. It was a useless technique that I never used to solve. When we started a project,
Generally, project team members are required to use the same environment, including JDK, eclipse, and tomcat versions. But there is always
Members use different versions of XX that they already have. It is troublesome to change the version to a new version. If they do not execute policies, some problems will be solved.
It turns out that it was a version problem, and I generally think that his version is the same as mine... and. Managed
There are always some solutions, and the results are not necessarily good. The following are the technical solutions.

1) You can copy the JDK without JRE.
2) The order of JRE search started by eclipse is
A)eclipse.exe-vm d:/jdk1.5.0 _ 09/bin/javaw.exe

You can use a "shortcut" to point to the target to add the VM (previously, this was not enough, and Windows was not proficient :))

Bw.eclipse.exe directory JRE/directory at the same level (JRE is enough)
C) java_home of the machine itself (this is why you have no problem installing JDK)
3) You all know how to set JRE in Tomcat/weblogic.

Then we packed the above three items and asked all the team members to copy them from here. This solved the problem.

In additionCodeIt is open-source. You can check it on your own. There is also a lot of information on the Internet, and.

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.