java
| Synopsis | ||
| java | <className> [ <arg> ... ] | run a Java class via its 'main' method | 
| 
Details | ||
| The java command runs the supplied class by calling its 'public static void main(String[])' entry point. The <className> should be the fully qualified name of a Java class. The java command will look for the class to be run on the current shell's classpath. If that fails, it will look in the current directory. The <arg> list (if any) is passed to the 'main' method as a String array. | ||