ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/rzahajgsscfglinkjava.htm

77 lines
4.6 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="Enabling the native iSeries JGSS provider to access IBM Toolbox for Java" />
<meta name="DC.Relation" scheme="URI" content="rzahajgsscfg1320.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="rzahajgsscfglinkjava" />
<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>Enabling the native iSeries JGSS provider to access IBM Toolbox for Java</title>
</head>
<body id="rzahajgsscfglinkjava"><a name="rzahajgsscfglinkjava"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Enabling the native iSeries JGSS provider to access IBM Toolbox for Java</h1>
<div><p>The native iSeries™ JGSS
provider must be able to access classes in IBM<sup>®</sup> Toolbox for Java™. Use
one of the following options to enable IBM JGSS to access the Toolbox for Java jt400Native.jar
file: </p>
<ul><li> <a href="#rzahajgsscfglinkjava__javaextdir">Place a symbolic link to
jt400Native.jar in the Java extension directory</a> </li>
<li> <a href="#rzahajgsscfglinkjava__persalextdir">Place a symbolic link
to jt400Native.jar in yourown extension directory</a> and then include
that directory in the extension directory list</li>
</ul>
<p> <strong>Notes:</strong></p>
<ul><li>Placing a symbolic link to jt400Native.jar in the Java extension
directory forces all users of the J2SDK to run with this version of jt400Native.jar.
This may not be desirable if various users require different versions of the IBM Toolbox
for Java classes.</li>
<li>In the following instructions, ${java.home} denotes the path to the location
of the version of Java that you are using on your server. For example,
if you are using J2SDK, version 1.4, ${java.home} is /QIBM/ProdData/Java400/jdk14.
Remember to replace ${java.home}in the commands with the actual path
to the Java home directory. </li>
</ul>
<div class="section" id="rzahajgsscfglinkjava__javaextdir"><a name="rzahajgsscfglinkjava__javaextdir"><!-- --></a><h4 class="sectiontitle">Placing a symbolic link in the Java extension
directory</h4><p>To place a link to the jt400Native.jar file in the Java extenstion
directory, on an iSeries command
line, type the following command (on a single line) and press <strong>ENTER</strong>:</p>
<blockquote>
<pre> ADDLNK OBJ('/QIBM/ProdData/OS400/jt400/lib/jt400Native.jar')
NEWLNK('${java.home}/lib/ext/jt400Native.jar')</pre>
</blockquote>
</div>
<div class="section" id="rzahajgsscfglinkjava__persalextdir"><a name="rzahajgsscfglinkjava__persalextdir"><!-- --></a><h4 class="sectiontitle">Placing a symbolic link in your own extension
directory</h4><p>To link the jt400Native.jar file to your own directory,
on an iSeries command
line, type the following command (on a single line) and press <strong>ENTER</strong>:
</p>
<pre> ADDLNK OBJ('/QIBM/ProdData/OS400/jt400/lib/jt400Native.jar')
NEWLNK('<strong>&lt;your extension directory&gt;</strong>/jt400Native.jar')</pre>
<p>When
calling your program, use the following format for the Java command: </p>
<pre> java -Djava.ext.dirs=<strong>&lt;your extension directory&gt;</strong>:${java.home}/lib/ext:/QIBM/UserData/Java400/ext</pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahajgsscfg1320.htm" title="IBM JGSS uses the pure Java provider by default. You also have the option to use the native iSeries JGSS provider.">Configuring JGSS to use the native iSeries JGSS provider</a></div>
</div>
</div>
</body>
</html>