Use the CRTJVAPGM command to create an IBM® i Java program from a Java class file. Specify CRTJVAPGM CLSF( xxxxxx) OPTIMIZE(10), where xxxxxx is the class file. The resulting Java program contains machine-instruction sequences that are run when the Java program is invoked. The Java program is created at optimization level 10 to allow debugging.
If, at startup, the debugger does not find a Java program associated with the Java class file, it directs the Java Virtual Machine (JVM) to create it.