111 lines
7.0 KiB
HTML
111 lines
7.0 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="concept" />
|
||
|
<meta name="DC.Title" content="Support for multiple Java 2 Software Development Kits" />
|
||
|
<meta name="abstract" content="Your iSeries server supports multiple versions of the Java Development Kits (JDKs) and the Java 2 Software Development Kit (J2SDK), Standard Edition." />
|
||
|
<meta name="description" content="Your iSeries server supports multiple versions of the Java Development Kits (JDKs) and the Java 2 Software Development Kit (J2SDK), Standard Edition." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="install.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="multjdk" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Support for multiple Java 2 Software Development Kits</title>
|
||
|
</head>
|
||
|
<body id="multjdk"><a name="multjdk"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Support for multiple Java 2 Software Development Kits</h1>
|
||
|
<div><p>Your iSeries™ server
|
||
|
supports multiple versions of the Java™ Development Kits (JDKs) and the Java 2
|
||
|
Software Development Kit (J2SDK), Standard Edition.</p>
|
||
|
<div class="note"><span class="notetitle">Note:</span> In this documentation, depending on the context, the term JDK refers
|
||
|
to any supported version of the JDK and J2SDK. Usually, the context in which
|
||
|
JDK occurs includes a reference to the specific version and release number. </div>
|
||
|
<p>Your iSeries server
|
||
|
supports using multiple JDKs simultaneously, but only through multiple Java virtual
|
||
|
machines. A single Java virtual machine runs one specified
|
||
|
JDK.</p>
|
||
|
<p>Find the JDK that you are using or want to use, and select the coordinating
|
||
|
option to install. See <a href="install.htm">Install IBM Developer Kit for Java</a> to install more than
|
||
|
one JDK at one time. The java.version system property determines which JDK
|
||
|
to run. Once a Java virtual machine is up and running, changing the
|
||
|
java.version system property has no effect.</p>
|
||
|
<p><strong>Note:</strong> In V5R3 and later, the following options are no longer available:
|
||
|
Option 1 (JDK 1.1.6), Option 2 (JDK 1.1.7), Option 3 (JDK 1.2.2), and Option
|
||
|
4 (JDK 1.1.8). The following table lists the supported J2SDKs for this release.</p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" valign="top" width="10%" id="d0e57">Option</th>
|
||
|
<th align="left" valign="top" width="22.05128205128205%" id="d0e59">JDK</th>
|
||
|
<th align="left" valign="top" width="45.64102564102564%" id="d0e61">java.home</th>
|
||
|
<th align="left" valign="top" width="22.30769230769231%" id="d0e63">java.version</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" width="10%" headers="d0e57 ">5</td>
|
||
|
<td valign="top" width="22.05128205128205%" headers="d0e59 ">1.3</td>
|
||
|
<td valign="top" width="45.64102564102564%" headers="d0e61 ">/QIBM/ProdData/Java400/jdk13/</td>
|
||
|
<td valign="top" width="22.30769230769231%" headers="d0e63 ">1.3</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e57 ">6</td>
|
||
|
<td valign="top" width="22.05128205128205%" headers="d0e59 ">1.4</td>
|
||
|
<td valign="top" width="45.64102564102564%" headers="d0e61 ">/QIBM/ProdData/Java400/jdk14/</td>
|
||
|
<td valign="top" width="22.30769230769231%" headers="d0e63 ">1.4</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e57 "><img src="./delta.gif" alt="Start of change" />7<img src="./deltaend.gif" alt="End of change" /></td>
|
||
|
<td valign="top" width="22.05128205128205%" headers="d0e59 "><img src="./delta.gif" alt="Start of change" />1.5 (also referred to as J2SE 5.0)<img src="./deltaend.gif" alt="End of change" /></td>
|
||
|
<td valign="top" width="45.64102564102564%" headers="d0e61 "><img src="./delta.gif" alt="Start of change" />/QIBM/ProdData/Java400/jdk15/<img src="./deltaend.gif" alt="End of change" /></td>
|
||
|
<td valign="top" width="22.30769230769231%" headers="d0e63 "><img src="./delta.gif" alt="Start of change" />1.5<img src="./deltaend.gif" alt="End of change" /></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<p>The default JDK chosen in this multiple JDK environment depends on which
|
||
|
5722-JV1 Options are installed. The following table gives some examples.</p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" valign="top" id="d0e102">Install</th>
|
||
|
<th align="left" valign="top" id="d0e104">Enter</th>
|
||
|
<th align="left" valign="top" id="d0e106">Result</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" headers="d0e102 ">Option 5 (1.3)</td>
|
||
|
<td valign="top" headers="d0e104 "><samp class="codeph">java Hello</samp></td>
|
||
|
<td valign="top" headers="d0e106 ">J2SDK, Standard Edition, version 1.3 runs.</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e102 ">Option 6 (1.4)</td>
|
||
|
<td valign="top" headers="d0e104 "><samp class="codeph">java Hello</samp></td>
|
||
|
<td valign="top" headers="d0e106 ">J2SDK, Standard Edition, version 1.4 runs.</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e102 ">Option 5 (1.3) and Option 6 (1.4)</td>
|
||
|
<td valign="top" headers="d0e104 "><samp class="codeph">java Hello</samp></td>
|
||
|
<td valign="top" headers="d0e106 ">J2SDK, Standard Edition, version 1.4 runs.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="note"><span class="notetitle">Note:</span> If you install only one JDK, the default JDK is the one you installed.
|
||
|
If you install more than one JDK, the following order of precedence determines
|
||
|
the default JDK:<ol><li>Option 6 (1.4)</li>
|
||
|
<li>Option 5 (1.3)</li>
|
||
|
<li><img src="./delta.gif" alt="Start of change" />Option 7 (1.5)<img src="./deltaend.gif" alt="End of change" /></li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="install.htm" title="Installing IBM Developer Kit for Java allows you to create and run Java programs on your iSeries server.">Install IBM Developer Kit for Java</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|