Verifying your NAWT installation

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 i5/OS™ command line, type the following command and press ENTER:

     JAVA CLASS(NAWTtest) CLASSPATH('/QIBM/ProdData/Java400') PROP((os400.awt.native true))

The test program creates a JPEG-encoded image and saves it to the following path in the integrated file system:

     /tmp/NAWTtest.jpg

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.

Related concepts
Installing iSeries Tools for Developers PRPQ
Configuring NAWT environment variables
Related tasks
Install NAWT software fixes
Starting the Virtual Network Computing server
Configuring Java system properties
Configuring the iceWM window manager
Using a VNCviewer or Web browser