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
Joined: May 22, 2008
Sep 25, 2009 05:34:22
What does "-cp" mean in --->
M K Rayapudi
Joined: Feb 19, 2007
Sep 25, 2009 05:37:10
-cp means classpath for zip/jar files
java -cp abc.jar?
will look in abc.jar (of course your command is incomplete, you have to provide one more ARGUMENT i.e. an executable class name)
Joined: Jan 28, 2003
Sep 25, 2009 05:38:26
It lets you set the classpath to use for searching for class files. you can also type in
to get help on what options are available and what they mean.
Joined: Jul 26, 2007
Sep 25, 2009 06:01:26
A little bit more information than the command line can be found
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: java -cp
A doubt in packages
Importing classes problem
Executing a sh file from java program in foreground
How to include jars in command line classpath?
problem with PATH and PATH variables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014