Catch us on

Saturday, March 26, 2016

Environment variable or path in JAVA

It is a combination of few steps that you need to memories..
  1. Right click on "This pc (in windows 8.1 or 10) and on My Computer for 7 or below.
  2. Select properties.
  3. Click on Advanced system settings on left had side of the new window.
  4. Switch to Advanced tab in new dialog box opend and select Environment Variables.
  5.  Click on new.






























  6. Type the variable name as path and value as the source of the bin folder. like if u have installed             jdk in c:\programs\jdk1.8\bin then set the value as c:\programs\jdk1.8\bin




























I have installed it in c:javajdk1.8 in.
  1. Click on OK and you are done with it.
**Same goes on to set path for gcc.
In next article i will tell how to run a java program..

Please Share


No comments:

Post a Comment