Setting a path for running java program
Step-1 : Go to "My Computers" Icon Right click on it.
Step-2 : select "Properties".
Step-3 : Advanced Tab.
Step-4 : Click on "Environment Variable".
Step-5 : select "User Variables".
Step-6 : Click on "New".
Step-7 : set "Variable Name= PATH" and copy the URL from your computer where the java is installed suppose C:\Program Files\Java\jdk(Version)\bin and paste in "Variable Value=C:\Program Files\Java\jdk-1.5(version)\bin;.;".
Step-8 : Click on "OK" for current working window(i.e, Environment variables).
Step-9: Click on "OK" for Advanced Tab.
Step-10: Click on "Apply".
No comments:
Post a Comment