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

67 lines
4.6 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Verifying your NAWT installation" />
<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="nawtsystemprops.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="nawtverifyinstall" />
<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>Verifying your NAWT installation</title>
</head>
<body id="nawtverifyinstall"><a name="nawtverifyinstall"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Verifying your NAWT installation</h1>
<div><div class="section"><p>After completing the NAWT install and setup procedures, you can
verify your NAWT installation by running a Java™ test program. To run the test program
from an <span class="keyword">i5/OS™</span> command line,
type the following command and press ENTER:</p>
<pre> JAVA CLASS(NAWTtest) CLASSPATH('/QIBM/ProdData/Java400') PROP((os400.awt.native true))</pre>
<p>The test program creates a JPEG-encoded image and saves it to the following
path in the integrated file system:</p>
<pre> /tmp/NAWTtest.jpg</pre>
<p>After
you run the test program, check to ensure that the test program created
the file and produced no Java exceptions. To display the image, use
binary mode to upload the image file to a graphics-capable system.</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="nawtsystemprops.htm">Configuring Java system properties</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>