Eclipse installation considerations under win 10; Resolve cmd in javac display non-internal external commands

Source: Internet
Author: User

There is no need to manually configure environment variables under the iOS system, while Windows is different. See many tutorials on the web, found that the method of configuring environment variables is prone to problems under WIN10, the CMD verifies that both Java and java-version are displayed as normal, and JAVAC displays non-internal and external commands.

The reason is that in win10 different from other win system configuration environment variables, you need to pay attention to the PATH variable using absolute path, but not simply add%java_home%\bin and%java_home%\jre\bin

You need to add two new paths under path:

C:\Program Files\java\jdk1.8.0_131\bin

C:\Program Files\java\jdk1.8.0_131\bin\jre\bin

Where C:\Program files\java\jdk1.8.0_131 needs to be changed to its own JDK path.

Eclipse installation considerations under win 10; Resolve cmd in javac display non-internal external commands

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.