The path is required to be set for using tools such as javac, java etc.
There are two ways to set path:
- Temporary
- Permanent
Step 1:
Open Command Prompt.
- press Windows+r.
- type cmd
Step 2:Copy the path of jdk\bin directory.
The default path is :
C:\Program Files\Java\jdk<version>\bin
Step 3:In command prompt write
set path=copied pathFor eg:
set path = C:\Program Files\Java\jdk1.7.0_75\bin
And your path set set temporarily. In next post will write about setting the path in Java permanently.
No comments:
Post a Comment