[Meet time] resolve ' javac ' is not an internal or external command issue

Source: Internet
Author: User

I've seen this before, and I've found a lot of blogs on the internet that are mostly about modifying the settings of environment variables, the comments below are all solved, but some people can't solve them, and I can't solve them.

Recently encountered this situation, originally reported "' Javac ' is not internal or external command problem ' time ecplise run also OK, but the heart has the practice, the JDK removed the reinstallation.

When installing the JDK, select a path to install the JDK, install it, and then choose a path to install the JRE. I installed the Java directory only JDK, I would like to be installed after the JRE selected path is not correct, the JRE covers the JDK;

The new JRE folder is created in the Java directory where the JDK is located, and the new JRE folder is selected when installing the JRE after the JDK installation is complete. Modify environment variables after installation, run Javac, run successfully!

Finished installing

Classpath= ".; %java_home%\lib; "

Java_home=d:\program files\java\jdk1.8.0_91

Path joins "%java_home%\bin;" Note the semicolon.

In this context, I strongly suspect that the JRE installation location is incorrect, resulting in ' javac ' not an internal or external command issue.

[Meet time] resolve ' javac ' is not an internal or external command issue

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.