Pawel Szymanski has set up a detailed instructions page for building kAWT with IBM VAME J9.
Latchezar Hristov was so kind to provide a libraryDefJxelink.opt file for creating a separate kAWT library. For building the library, first the instructions above should be followed, omitting the steps for building th kAWT demo.
-macroEnv IVEHOME
@{{IVEHOME}}{{/}}lib{{/}}jclPalmCldc.jxeLinkOptions
-cp .
-cp "..{{/}}VAME Palm KJava"
-cp "..{{/}}VAME Palm Utilities Sample"
-noStartupClass
-o kawt
-map
#
# name all the classes to be included in this library
#
-includeLibraryClass de.kawt.*
-includeLibraryClass de.kawt.impl.*
-includeLibraryClass de.kawt.impl.kjava.*
-includeLibraryClass java.awt.*
-includeLibraryClass java.awt.image.*
-includeLibraryClass java.awt.event.*
-includeLibraryClass java.util.EventObject
-includeLibraryClass java.lang.Math
-includeLibraryClass java.util.Random
#
# name some relevant classes referred to by kJava classes
#
-includeLibraryClass com.ibm.oti.palmos.util.OSX
-includeLibraryClass com.ibm.oti.palmos.util.cleanup.Disposable