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
J2SDK, version 1.5, full GUI support
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
J2SDK, version 1.5, headless AWT support
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.