ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/javaqsh.htm

149 lines
3.6 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<!-- This document was copied from the IBM Developer Kit for Java V4R3 Reference. -->
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8">
<title>java - Run Java interpreter</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2>java - Run Java<sup>tm</sup> interpreter</h2>
<p>The <tt>java</tt> Qshell command runs Java<sup>tm</sup>
programs. It is compatible with the <tt>java</tt> tool that is
supplied by Sun Microsystems, Inc. with a few exceptions.</p>
<p>The IBM Developer Kit for Java ignores the following options of
the <tt>java</tt> Qshell command:</p>
<table border cellpadding="3">
<tr>
<th>Ignored option</th>
<th>Description</th>
</tr>
<tr>
<td align="center"><strong>-cs</strong></td>
<td>Not supported.</td>
</tr>
<tr>
<td align="center"><strong>-checksource</strong></td>
<td>Not supported.</td>
</tr>
<tr>
<td align="center"><strong>-debug</strong></td>
<td>Supported by the iSeries internal debugger.</td>
</tr>
<tr>
<td align="center"><strong>-noasyncgc</strong></td>
<td>Garbage collection is always running with the IBM Developer Kit
for Java.</td>
</tr>
<tr>
<td align="center"><strong>-noclassgc</strong></td>
<td>Garbage collection is always running with the IBM Developer Kit
for Java.</td>
</tr>
<tr>
<td align="center"><strong>-prof</strong></td>
<td>iSeries has its own performance tools.</td>
</tr>
<tr>
<td align="center"><strong>-ss</strong></td>
<td>Not applicable.</td>
</tr>
<tr>
<td align="center"><strong>-oss</strong></td>
<td>Not applicable.</td>
</tr>
<tr>
<td align="center"><strong>-t</strong></td>
<td>iSeries uses its own trace function.</td>
</tr>
<tr>
<td align="center"><strong>-verify</strong></td>
<td>Always verify on iSeries.</td>
</tr>
<tr>
<td align="center"><strong>-verifyremote</strong></td>
<td>Always verify on iSeries.</td>
</tr>
<tr>
<td align="center"><strong>-noverify</strong></td>
<td>Always verify on iSeries.</td>
</tr>
</table>
<p>The <tt>java</tt> Qshell command supports new options. These are
the new supported options:</p>
<table border cellpadding="3">
<tr>
<th>Supported option</th>
<th>Description</th>
</tr>
<tr>
<td align="center"><strong>-secure</strong></td>
<td>Checks for public write access to directories in the
CLASSPATH.</td>
</tr>
<tr>
<td align="center"><strong>-gcfrq</strong></td>
<td>Specifies the garbage collection frequency.</td>
</tr>
<tr>
<td align="center"><strong>-gcpty</strong></td>
<td>Specifies the garbage collection priority.</td>
</tr>
<tr>
<td align="center"><strong>-opt</strong></td>
<td>Specifies the optimization level.</td>
</tr>
<tr>
<td align="center"><strong>-verbosegc</strong></td>
<td>A message is displayed for each garbage collection sweep.</td>
</tr>
</table>
<p>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.</p>
<p>The <tt>java</tt> Qshell command is available using the Qshell
Interpreter.</p>
<p>For more information about the <tt>java</tt> Qshell command, see
the <a href=
"http://java.sun.com:80/products/jdk/1.1/docs/tooldocs/win32/java.html"
target="_blank">java tool</a> <img src="www.gif" alt=
"Link outside Information Center"> by Sun Microsystems, Inc.</p>
</body>
</html>