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.此内容没有您所选择的语言版本。
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.
			
| 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. |