aspose file tools*
The moose likes Beginning Java and the fly likes -classpath & -sourcepath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "-classpath & -sourcepath" Watch "-classpath & -sourcepath" New topic
Author

-classpath & -sourcepath

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
what is difference between -classpath option and -sourcepath option?
Thanks
Angela
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Sourcepath tells javac where to grab the source code from.
Classpath tells javac where to grab other class files that will allow your source code to compile.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: -classpath & -sourcepath