Compiling AS/400 application code for OLT
When compiling your application code for WebSphere Application Server for AS/400
(Advanced or Advanced Single Server Edition), you should do the following:
- Compile your application with debug information as follows:
- For Java 1.1.x, use the javac -g command.
- On the Java 2 platform, use the javac -g:lines,vars,source command.
- Create a direct executable (CRTJVAPGM) for the debugabble class files,
specifying an optimization level of 10 with the following command:
CRTJVAPGM CLSF('[fully_qualified_IFS_pathname]') OPTIMIZE(10)
where [fully_qualified_IFS_pathname] is the fully qualified path name of the
.class file(s).
For example,
CRTJVAPGM
CLSF('/QIBM/UserData/WebASAdv/default/servlets/com/mycompany/MyServlet.class')
OPTIMIZE(10)
CRTJVAPGM CLSF('/QIBM/UserData/WebASAdv/default/servlets/*.class') OPTIMIZE(10)
The next step is to enable OLT on your WebSphere Application server.

Preparing for an OLT and IBM Distributed Debugger session on AS/400
Preparing an AS/400 environment for OLT and the IBM Distributed Debugger