'cmd' is not recognized as an internal or external command, operable program or batch file

Drashti Pandya picture Drashti Pandya · Aug 16, 2015 · Viewed 62.9k times · Source

When I build my project in netbeans me it shows:

'cmd' is not recognized as an internal or external command,
 operable program or batch file.` 

I'm using jdk 8 and maven 3.3. My path system variable is:

%SystemRoot%\system32;%SystemRoot%;D:\POS\apache-maven-3.3.3-bin\apache-maven-3.3.3\bin;

Answer

orvi picture orvi · Aug 16, 2015

So far I understand this is not your IDE issue.Check your "system32" is correctly defined in the PATH environment variable .

Path = %SystemRoot%\system32;