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
Murach's Java Servlets and JSP
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.
subject: -classpath & -sourcepath
javac and -classpath option
Compiling multiple source files
javac sourcepath classpath options
Related to Javac Command
Compilation using classpath
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014