Java Path Environment Variables Setup

  • Right click Computer
  • Click the properties
  • On the left pane select Advanced System Settings
  • Select Environment Variables
  • Under the System Variables, Select PATH and click edit, and then click new and add path as C:\Program Files\Java\jdk1.8.0_131\bin (depending on your installation path) and finally click ok
  • Next restart your command prompt and open it and try javac

Leave a Reply

Your email address will not be published. Required fields are marked *