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
- Go to your java jdk instal directory and copy its directory (Look at Picture)
- 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)
- Clicl Enviroment Variables…
- In System variables click New
- Write :Variable Name : JAVA_HOMEVariable Value is your java jdk instal directory
- Click Path then click Edit
- Click New
Then write “%JAVA_HOME%bin” (Without Quotes)
- Click OK > OK > OKThen Open cmd and write “javac -version” (Without quotes)
If you dont understand you can watch my video