Java7 after upgrading to JAVA8 java-version not effective solution

Source: Internet
Author: User

I need to install Pydev on eclipse, which requires native Java to be java8, otherwise it will appear in eclipse does not appear in the problem

Second, the Local has installed JAVA7 and JAVA8, but the current environment variable Java_home point to Java7

Third, modify Java_home point to Java8, open cmd, set path=c: And then open another Cmd,echo%path% see the current PATH, you can see that Java_home has indeed pointed to the JAVA8 directory

But Java-version still shows the version is 7, restarting the machine is useless

Iv. Final Solution: In path, put the Java path to the front, restart the machine, solve!

Java7 after upgrading to JAVA8 java-version not effective solution

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.