Windows: javac is not recognized as an internal or external command, operable program or batch file

Trabla: Windows: javac is not recognized as an internal or external command, operable program or batch file


Windows 7 fix javac is not recognized as an internal or external command, operable program or batch file - codingtrabla tutorials 1










Solving:


1. Find and copy path to JDK bin folder (java development kit)  in your system
e.g.
C:\Program Files\Java\jdk1.8.0_31\bin

2.  Goto Start->Control Panel->System

Windows 7 fix javac is not recognized as an internal or external command, operable program or batch file - codingtrabla tutorials 2














3. Click "Advance system Settings"

Windows 7 fix javac is not recognized as an internal or external command, operable program or batch file - codingtrabla tutorials 3




















4. Click "Environment Variables..."

Windows 7 fix javac is not recognized as an internal or external command, operable program or batch file - codingtrabla tutorials 4




















5. Find variable "Path" and click "Edit" button

Windows 7 fix javac is not recognized as an internal or external command, operable program or batch file - codingtrabla tutorials 5




















6. Paste  path to JDK bin folder + semicolon into "Variable value" field
+ click OK

e.g.
C:\Program Files\Java\jdk1.8.0_31\bin;

Windows 7 fix javac is not recognized as an internal or external command, operable program or batch file - codingtrabla tutorials 6





















7. Open new window cmd. Run your javac command

Windows 7 fix javac is not recognized as an internal or external command, operable program or batch file - codingtrabla tutorials 7





No comments:

Post a Comment