java - Run Java interpreter
The java
Qshell command runs Java™ 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 system 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 | The system has its own performance tools. |
-ss | Not applicable. |
-oss | Not applicable. |
-t | The system uses its own trace function. |
-verify | Always verify on the system. |
-verifyremote | Always verify on the system. |
-noverify | Always verify on the system. |
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.