Java Set-up: Add Java to Path Environment Variable & Java Command Line



Java programs have to be compiled before they can be run. If you’re using an IDE like Eclipse or Netbeans you might not need to do this. But if you’re having trouble compiling java from the command line, here’s how to fix it.

-Open Control Panel, then System
-“Advanced System Settings”
-“Environment variables”
-Add a new “System Variable”
-Name it (e.g. “0java”). The “Value” is to the installation location of the Java Development Kit
-Something like C:Program…

Related Posts

17 Comments

Leave a Reply

Your email address will not be published.

© 2022 Code As Pro - Theme by WPEnjoy · Powered by WordPress