I have this confusion regarding the classpath and sourcepath.I have referred to theselinks too but i aint getting it right. REFERENCES--
The sourcepath is the path to the sources you are compiling.
The classpath is a path (or multiple paths) to libraries you are compiling against. These are compiled classes, either in folders or Jar files.