java - javac is not working and giving message "javac is not recognized " -


i made simple java file extension .java , have set javac path variable c:\program files\java\jdk1.7.0_25\bin it's not working , giving message "javac not recognized internal or external command , operable program or batch file " .i closed cmd , reopen not worked .

would suggest following:

  1. go path c:\program files\java\jdk1.7.0_25\bin, run javac.
  2. if javac runs after going path check path environment variable, go command prompt type path , press enter, make sure java bin path there.
  3. if dont see java bin in previous step, edit path environment variable.

cheers !!


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -