There are 2 ways to set java path:
1.temporary
2.permanent
1) How to set Temporary Path of JDK in Windows
To set the temporary path of JDK, you need to follow following steps:
-
Open command prompt
-
copy the path of jdk/bin directory
-
write in command prompt: set path=copied_path
For Example:
set path=C:\Program Files\Java\jdk1.6.0_23\bin
2) How to set Permanent Path of JDK in Windows
For setting the permanent path of JDK, you need to follow these steps:
Go to MyComputer properties -> advanced tab -> environment variables -> new tab of user variable -> write path in variable name
-> write path of bin folder in variable value -> ok -> ok -> ok
No comments:
Post a Comment
Please write your view and suggestion....