Set path

AnujSinghRajput3 72 views 3 slides Jul 29, 2018
Slide 1
Slide 1 of 3
Slide 1
1
Slide 2
2
Slide 3
3

About This Presentation

Java Path Set parmanently and Temporary


Slide Content

SET PATH

The path is required to be set for using tools such as javac,java etc.
If you are saving the java source file inside the jdk/bin directory,path is not
required to be set because all the tools will be available in the current directory.
But If you are having your java file outside the jdk/bin folder,it is necessary to set
path of JDK.
There are 2 ways:
1.Temporary: To set the path temporarly ,the path is set each time when command
prompt is reopens by providing the directory address
set path=C:\Program Files\Java\jdk1.8.0_111\bin
After this to chek the path is set or not you can simply check it by typing javac.

2.Permanent: We can set path permanently and its all done,we don’t need to set
path again and again i.e. any user can save his/her file in any directory and access
it through command prompt by simply moving into that directory.
Procedure:
Control Panel\System and Security\System Advance system
settingsEnvironment Variables…System variables path(click to set)
C:\Program Files\Java\jdk1.8.0_111\bin

MATRIX ADDITION
Tags