Javac command not working

In my command window javac command is not working.
It shows javac is not recognized as an internal or external command,operable program or batch file
but Java command is working
should i proceed ahead with or is there any issue in this

Hey @rishabh.chhabra10
First, install java and eclipse, then proceed

i reinstalled the java but still the same error is coming

Windows OS searches the current directory and the directories listed in the PATH environment variable for executable programs. JDK’s programs (such as Java compiler javac.exe and Java runtime java.exe) reside in directory “\bin” (where denotes the JDK installed directory, e.g., C:\Program Files\Java\jdk1.8.0_xx). You need to include the “\bin” directory in the Java Path.

  • First make sure you have installed jdk and jre, both are installed with the java software development kit. The installation folder is typically C:\Program Files\Java.

  • Now go to Computer > Properties > Advanced system settings in the advanced tab click on Environment Variables

  • In System variables find the variable named Path, in the value of Path you will find a java path like C:\ProgramData\Oracle\Java\javapath, just change it to C:\Program Files\Java\jdk1.x.x_x\bin.