Configuring Java system properties

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.

J2SDK, version 1.3

When running NAWT under J2SDK, version 1.3, set the following Java system properties:

     java.version=1.3
     os400.awt.native=true

J2SDK, version 1.4, full GUI support

When running NAWT with full GUI support under J2SDK, version 1.4, set the following Java system properties:

     java.version=1.4
     os400.awt.native=true

J2SDK, version 1.4, headless AWT support

When running NAWT in headless mode under J2SDK, version 1.4, set the following Java system properties:

     java.version=1.4
     java.awt.headless=true

Start of changeJ2SDK, version 1.5, full GUI supportEnd of change

When running NAWT with full GUI support under J2SDK, version 1.5, set the following Java system properties:

     java.version=1.5
     os400.awt.native=true

Start of changeJ2SDK, version 1.5, headless AWT supportEnd of change

When running NAWT in headless mode under J2SDK, version 1.5, set the following Java system properties:

     java.version=1.5
     java.awt.headless=true

For more information about setting Java system properties, see Customize your iSeries™ server for the IBM® Developer Kit for Java.

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