Here's the setting for my environment variables:
PATH - C:\WINDOWS\SYSTEM32;C:\Program Files\Java\jdk1.8.0_121\bin
JAVA_HOME - C:\Program Files\Java\jdk1.8.0_121
JRE_HOME - C:\Program Files\Java\jre1.8.0_121
Eclipse recognizes the variables and runs the projects normally (with TomCat, Jboss inclusive). However, after "clean and build" in Netbeans the following message appears:
cmd is not recognized as an internal or external command, operable program or batch file
What could it be? Thanks. Note: I went to Tools > Options > No Proxy (in Proxy Settings)