93 lines
5.6 KiB
HTML
93 lines
5.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="task" />
|
||
|
<meta name="DC.Title" content="Configuring Java system properties" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawtinstallpre14.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawtinstallfixes.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawtprpqinstall.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawtstartvncserver.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawtenvironmentvariables.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawtverifyinstall.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawticewmwindowmgr.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="nawtvncviewer.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="nawtsystemprops" />
|
||
|
<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>Configuring Java system properties</title>
|
||
|
</head>
|
||
|
<body id="nawtsystemprops"><a name="nawtsystemprops"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Configuring Java system properties</h1>
|
||
|
<div><div class="section"><p>In order to run Native Abstract Windowing Toolkit (NAWT), you
|
||
|
must always set certain Java™ system properties before running Java.
|
||
|
In each of the following examples, the first line configures Java for
|
||
|
the desired Java 2 Software Development Kit (J2SDK) and the second
|
||
|
line enables NAWT.</p>
|
||
|
<p><strong>J2SDK, version 1.3</strong></p>
|
||
|
<p>When running NAWT
|
||
|
under J2SDK, version 1.3, set the following Java system properties:</p>
|
||
|
<pre> java.version=1.3
|
||
|
os400.awt.native=true</pre>
|
||
|
<p><strong>J2SDK, version 1.4, full GUI support</strong></p>
|
||
|
<p>When
|
||
|
running NAWT with full GUI support under J2SDK, version 1.4, set the following Java system
|
||
|
properties:</p>
|
||
|
<pre> java.version=1.4
|
||
|
os400.awt.native=true</pre>
|
||
|
<p><strong>J2SDK, version 1.4, headless AWT
|
||
|
support</strong></p>
|
||
|
<p>When running NAWT in headless mode under J2SDK, version
|
||
|
1.4, set the following Java system properties:</p>
|
||
|
<pre> java.version=1.4
|
||
|
java.awt.headless=true</pre>
|
||
|
<p><img src="./delta.gif" alt="Start of change" /><strong>J2SDK, version 1.5,
|
||
|
full GUI support</strong><img src="./deltaend.gif" alt="End of change" /></p>
|
||
|
<p>When running NAWT with full GUI support under J2SDK,
|
||
|
version 1.5, set the following Java system properties:</p>
|
||
|
<pre> java.version=1.5
|
||
|
os400.awt.native=true</pre>
|
||
|
<p><img src="./delta.gif" alt="Start of change" /><strong>J2SDK, version 1.5,
|
||
|
headless AWT support</strong><img src="./deltaend.gif" alt="End of change" /></p>
|
||
|
<p>When running NAWT in headless mode under J2SDK,
|
||
|
version 1.5, set the following Java system properties:</p>
|
||
|
<pre> java.version=1.5
|
||
|
java.awt.headless=true</pre>
|
||
|
<p>For more information about setting Java system
|
||
|
properties, see <a href="config.htm">Customize your iSeries™ server
|
||
|
for the IBM<sup>®</sup> Developer
|
||
|
Kit for Java</a>.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="nawtinstallpre14.htm" title="To install Native Abstract Windowing Toolkit (NAWT) for Java 2 Software Development Kit (J2SDK), version 1.3, complete the following tasks.">Installing and using NAWT with J2SDK, version 1.3</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="nawtprpqinstall.htm" title="To run Native Abstract Windowing Toolkit (NAWT), you need to install the iSeries Tools for Developers PRPQ (5799PTL). If you do not have the PRPQ, you must order it.">Installing iSeries Tools for Developers PRPQ</a></div>
|
||
|
<div><a href="nawtenvironmentvariables.htm" title="Any time that you run Java with NAWT, you must set environment variables that tell Java the system name, the display number, and where to find each X server and the associated .Xauthority file.">Configuring NAWT environment variables</a></div>
|
||
|
</div>
|
||
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
||
|
<div><a href="nawtinstallfixes.htm" title="To install NAWT, you need to ensure that you install the software fix that includes the appropriate NAWT support for the version of Java 2 Software Development Kit (J2SDK), Standard Edition that you want to use.">Install NAWT software fixes</a></div>
|
||
|
<div><a href="nawtstartvncserver.htm">Starting the Virtual Network Computing server</a></div>
|
||
|
<div><a href="nawtverifyinstall.htm">Verifying your NAWT installation</a></div>
|
||
|
<div><a href="nawticewmwindowmgr.htm">Configuring the iceWM window manager</a></div>
|
||
|
<div><a href="nawtvncviewer.htm">Using a VNCviewer or Web browser</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|