Question about how eclipse cannot be opened and JDK environment changes

Source: Internet
Author: User

I have already met eclipse twice. For the first time, I thought it was a system problem and re-wrote the system. But the next day I couldn't start again.

Finally, it was discovered that the Oracle path was introduced.

Solution Method:

Select My Computer --> select system variables on the right --> high availability --> environment changes --> System Changes --> Find the system named path changes --> after the selection, click "restart" and press "restart"

You will find that:

E: \ oracle \ product \ 10.1.0 \ db_1 \ bin;

E: \ oracle \ product \ 10.1.0 \ db_1 \ JRE \ 1.4.2 \ bin \ client;

E: \ oracle \ product \ 10.1.0 \ db_1 \ JRE \ 1.4.2 \ bin;

E: \ oracle \ product \ 11.2.0 \ dbhome_1 \ bin;

What you need to do is to copy the bin category of your JDK to the beginning of the path category for change, and use the Shard to separate it,

C: \ Program Files \ Java \ jdk1.6.0 _ 07 \ bin;

The changes following the log cannot be deleted.

Click confirm in the previous dialog box, and then click confirm in the system environment changes. In this way, eclipse can be opened.

The main reason is that eclipse will first find the JRE from the system environment change path, and first find the top JRE, my customized Oracle10g self-contained JRE environment is 1.4, and eclipse requires a later version of JRE environment,

It should be noted that there are two kinds of Environment Changes: Environment Changes and system environment changes, configure the JDK path to use the system environment changes (you can also use the environment changes)

The reason is that some hosts in the server may need to use this environment change later.

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.