Configuring JAVA Environment Variables

Asked

Viewed 1,131 times

1

Follow the setting of 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 variables and runs projects normally (with Tomcat, including Jboss). However, after "clean and build" in Netbeans the following message appears:

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

What could it be? Thank you. Note: I’ve been to Tools > Options > No Proxy (in Proxy Settings)

  • 1

    Already tested in a command prompt the following commands: javac and java? Test ai, if they do not work, the variables have not been correctly configured.

  • 1

    You can send a print showing the entire PATH variable?

  • @LINQ > I can’t print here

  • @Article > Classes compile.

  • @Marianadelfino put on Imgur and glue the link

  • @LINQ > https://i.imgur.com/dJzILjH.png > https://imgur.com/a/uPKQQ

  • @Marianadelfino sees if you have c: Windows system32 in the path

  • @LINQ - Environment for dev Java OK and Working.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.