java - Run Javatm interpreter

The java Qshell command runs Javatm programs. It is compatible with the java tool that is supplied by Sun Microsystems, Inc. with a few exceptions.

The IBM Developer Kit for Java ignores the following options of the java Qshell command:

Ignored option Description
-cs Not supported.
-checksource Not supported.
-debug Supported by the iSeries internal debugger.
-noasyncgc Garbage collection is always running with the IBM Developer Kit for Java.
-noclassgc Garbage collection is always running with the IBM Developer Kit for Java.
-prof iSeries has its own performance tools.
-ss Not applicable.
-oss Not applicable.
-t iSeries uses its own trace function.
-verify Always verify on iSeries.
-verifyremote Always verify on iSeries.
-noverify Always verify on iSeries.

The java Qshell command supports new options. These are the new supported options:

Supported option Description
-secure Checks for public write access to directories in the CLASSPATH.
-gcfrq Specifies the garbage collection frequency.
-gcpty Specifies the garbage collection priority.
-opt Specifies the optimization level.
-verbosegc A message is displayed for each garbage collection sweep.

The Run Java (RUNJVA) command in the CL command reference documentation describes these new options in detail. The CL command reference documentation for the Create Java Program (CRTJVAPGM) command, Delete Java Program (DLTJVAPGM) command, and Display Java Program (DSPJVAPGM) command contains information about managing Java programs.

The java Qshell command is available using the Qshell Interpreter.

For more information about the java Qshell command, see the java tool Link outside Information Center by Sun Microsystems, Inc.