Forums Register Login

-classpath & -sourcepath

+Pie Number of slices to send: Send
what is difference between -classpath option and -sourcepath option?
Thanks
Angela
+Pie Number of slices to send: Send
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.
New rule: no elephants at the chess tournament. Tiny ads are still okay.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 772 times.
Similar Threads
Compiling multiple source files
javac and -classpath option
Related to Javac Command
javac sourcepath classpath options
Compilation using classpath
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:17:45.