To debug Java™ programs from the i5/OS™ command line, select one of the options listed here.
When you debug a Java program, your Java program is actually running in the Java virtual machine in a batch immediate (BCI) job. Your source code displays in the interactive display, but the Java program is not running there. It is running in the other job, which is a serviced job. When your Java program ends, the serviced job ends, and a message displays, stating that Job being serviced ended.
It is not possible to debug Java programs running with the Just-In-Time (JIT) compiler. If a file does not have an associated Java program, the default is to run the JIT. This can be disabled in several ways to allow debugging:
The interface between the two jobs is established when you specify the *DEBUG option on the Run Java (RUNJVA) command.
For more information about the system debugger, see WebSphere® Development Studio: ILE C/C++ Programmer's Guide, SC09-2712-04 and online help information.