Tuesday, July 26, 2011

Setting the classpath for first java Program

Step1:
right clk on computers->properties->advance system settings->environment variables.

Step2:
click on environment variables->classpath.



Step3:
After selecting classpath option,click on edit.
Step 4:
with adding semicolon at the end ,give the path upto bin where ur jdk is located.
click on OK.
Step 5:
Check ur settings by writing javac on command prompt.

No comments:

Post a Comment