The Java programming language |
|
Use the java command to execute Java:
$ java
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-hotspot is a synonym for the "hotspot" VM [deprecated]
-server to select the "server" VM
-classic to select the "classic" VM
If present, the option to select the VM must be first.
The default VM is -client.
-cp -classpath <directories and zip/jar files separated by :>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
The Java language is under the control of Sun Microsystems. See Sun's Java page for more information.
You can check out this book from the help desk:
Winston, Patrick Henry, and Sundar Narasimhan. On to Java. Addison-Wesley, 1996. ISBN 020149826X
|
John Shipman, john@nmt.edu
Last updated: 2002/12/05 02:00:32 UT URL: http://www.nmt.edu/tcc/help/lang/java/homepage.html |
|