|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutilities.RunJavaApplication
public class RunJavaApplication extends Object
Demonstrates the use of JavaApplicationCall
.
It gathers information from the user about the class to run, then uses a
JavaApplicationCall object to run the program on the IBM i system's JVM. It
uses the capabilities of JavaApplicationCall to send input to the Java
program and displays output the Java program writes to standard out and
standard error.
RunJavaApplication has three command line parameters. All parameters are optional.
Once started, four commands can be run:
You can set the following options via the set command. For more information on each option display the on-line help for the Java command on the system.
The format of the java command is:
java [-classpath=] [-verbose] [-D = [...]] class [ [...]]
Constructor and Description |
---|
RunJavaApplication()
|
Modifier and Type | Method and Description |
---|---|
protected static Vector |
getInputBuffer()
Returns input buffer. |
static void |
main(String[] parameters)
Runs Java programs on the IBM i system's JVM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RunJavaApplication()
Method Detail |
---|
public static void main(String[] parameters)
parameters
- The command line parameters. See the prolog
of this class for information on the command line parameters.protected static Vector getInputBuffer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |