Red Hat Training

A Red Hat training course is available for Red Hat Fuse

2.11. shell:java, java

Abstract

execute a Java application

Synopsis

shell:java [ --help ] [[ -m ] | [ --method ] methodName] { className } [ arguments ]

Arguments

Table 2.11, “shell:java Arguments” describes the command's arguments.

Table 2.11. shell:java Arguments

ArgumentInterpretation
--help Displays the online help for this command
-m, --methodSpecifies the name of a method to invoke. The default is main().
className Specifies the name of the class to invoke.
arguments Specifies the arguments to pass to the method of the given className.