About WIN10 System version 1709 installation JDK variable configuration is correct but there is still "Java is not an internal or external command" workaround

Source: Internet
Author: User

Background: Lenovo rescuers R720 notebook, the system one-click Restore, need to reinstall a portion of the software, the most basic is the JDK, but today in the installation of a problem, before the installation of the 1.8 version, not carefully configured environment variables, this time the installation is 1.7 version, the variable is carefully configured, but has been an error!

  that is, "' Java ' is not an internal or external command, nor is it a running program or batch file. ".

Find out why:

1, think is 32 jdk and 64-bit system conflict, Baidu a bit---------- compatible .

2, think is the configuration variable, less punctuation , after careful comparison, found that there is no.

3, the problem search interval narrowed, after Baidu, found this article http://jingyan.baidu.com/article/d5c4b52b80665fda560dc5e4.html?allowHTTP=1. Sure enough to solve the problem!

Solve the problem:

The path variable that was configured at the beginning is this:

However, to change to this, click " Edit text (T)..." To place the variable at the end of the text in the same position: that is , at the very beginning

That's what happens when you're done:

Then click " OK "-" OK "---> " ok ": If your java_home and classpath are correct.

win+r Open the command line operation, test the Java command again, the result

About WIN10 System version 1709 installation JDK variable configuration is correct but there is still "Java is not an internal or external command" workaround

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.