djaka.id|
How to Fix Java Not Recognized by CMD

How to Fix Java Not Recognized by CMD

djaka.id|

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)
    djaka.id|
  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)
    djaka.id|

     

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

     

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

     

    djaka.id|
  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 *