Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
shell:java
Name
shell:java, java — 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.
				
| Argument | Interpretation | 
|---|---|
 --help  | Displays the online help for this command | 
-m, --method | Specifies 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. |