How to Fix Java Not Recognized by CMD

How to Fix Java Not Recognized by CMD|

What is Java Development Kit ??
The Java Development Kit (JDK) is an implementation of either one of the Java Platform, Standard Edition; Java Platform, Enterprise Edition or Java Platform, Micro Edition platforms released by Oracle Corporation in the form of a binary product aimed at Java developers on Solaris, Linux, Mac OS X or Windows.
Here’s how to fix it
Steps :

  1. Go to your java jdk instal directory and copy its directory (Look at Picture)|
  2. Open Search and write “Advanced” then open Advanced System Setting
    (If you cant use search,just right click My Computer>Properties then click Advanced System Setting)|


  3. Clicl Enviroment Variables…|
  4. In System variables click New|
  5. Write :
    Variable Name : JAVA_HOME
    Variable Value is your java jdk instal directory|


  6. Click Path then click Edit|
  7. Click New
    Then write “%JAVA_HOME%bin” (Without Quotes)

  8. Click OK > OK > OK
    Then Open cmd and write “javac -version” (Without quotes) 
  9. Finish

If you dont understand you can watch my video

Leave a Reply

Your email address will not be published. Required fields are marked *