Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Introducing JavaFX 8 Programming
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.
I agree. Here's the link:
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