How to set classpath in java

Step1)Go to mycomputer and rightclick on it and go to properties then you will get following window
Step 2 ) Then go to Advanced system  settings
step3) In this select environment variables  and edit path in system variables

Step4)Go to program files  in C Drive and copy the  following java path look like
C:\Program Files\Java\jdk1.8.0_144\bin 
after this path  keep semicolon(;). So our complete path look like
C:\Program Files\Java\jdk1.8.0_144\bin;

step5) paste in    path tab
step 6) click ok  then ok  done .

No comments:

Post a Comment