Drashti Pandya Drashti Pandya - 1 month ago 13
Java Question

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

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

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

Path = %SystemRoot%\system32;
Comments