Revision [351]
This is an old revision of CommandJCall made by DavidLee on 2009-01-03 07:10:50.
Command jcall
Name
jcall calls a java program (any class's static main)Synopsis
jcall classname [args]Description
Calls a java program from within the same JVM and thread as the current shell."classname" is the full package and class name, e.g. "org.xmlsh.commands.xpwd"
Args are optional arguments to be sent to called class.
This command simulates the equivilent call to "java" command line.
The class is attempted to be loaded, and the main function called with the supplied parameters.
Note, stdin and stdout are redirected to the shell's input and output, but stderr is not changed (remains the stderr of the calling environment, due to java limitations).
CategoryCommands
CommandsInternal