| This Chapter | |
| - | Appendix B: java |
| - | Options |
The java program is a tool to launch a Java program. Its syntax has two forms.
java [options] class [argument ...] java [options] -jar jarFile [argument ...]
where options represents command-line options, class the name of the class to be invoked, jarFile the name of the jar file to be invoked, and argument the argument passed to the invoked class’s main method