Dear Friends,
If you want to set the path for Java, there are two main types for setting system path for Java which are as follows;
- Temporary Path
- Permanent Path
For the above two types, the video describes the complete step by step procedure for setting path for Java :
Or you can go through this tutorial :
1. To check path is set or not :
a. Go to Start Menu
b. Go to Run
c. Type “cmd” without quotes to open Command prompt.
d. Get to the root directory say c:/>
e. To check whether the path is already set or not, on command prompt type “javac” without quotes & press enter/return. If the following message appears on the console screen then the path is not set.
f. But if the other message having length nearly equal to half a page then path is set.
To set the temporary path follow the steps given below;
a. Open Command Prompt.
b. If path is not set & want to set it temporarily, assume the Java 1.6.0 is installed on your system, type following command on console screen :
And finally the path is set temporarily.
Note : This will work only for the current window, won’t work if you open another window.
3. Permanent Path :
To set the path permanently follow the steps given below;
a. Right Click on “My Computer Icon”.
b. Go to “Properties”.
c. Go to “Advanced” tab.
d. Click on “Environment Variables”.
e. Go to “System Variables”.
f. Find “Path” variable, select it & click “Edit”.
g. Small window will appear. Go to end by simply pressing “End” button & type following path with semicolon ( ; ) as prefix but without quotes;
“;C:\Program Files\Java\jdk1.6.0\bin“
h. Press “OK”, again “OK”, again “OK”.
And finally the path is set permanently.
i. To check whether the path is set or not simply refer details given above in the section 1.
Post a Comment
Note: only a member of this blog may post a comment.