File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
-classpath & -sourcepath
Joined: Jan 16, 2002
Apr 09, 2002 14:16:00
what is difference between -classpath option and -sourcepath option?
Chicken Farmer ()
Joined: May 08, 2001
Apr 09, 2002 15:44:00
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.
It is sorta covered in the
JavaRanch Style Guide
subject: -classpath & -sourcepath
Compiling multiple source files
javac and -classpath option
Related to Javac Command
javac sourcepath classpath options
Compilation using classpath
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015