The javac tool compiles Java™ programs. It is compatible with the javac tool that is supplied by Sun Microsystems, Inc. with one exception.
The javac tool is available using the Qshell Interpreter.
If you have JDK 1.1.x installed on your iSeries™ server as your default, but you need to run the java command from version 1.2 or higher, enter this command:
javac -djava.version=1.2 <my_dir> MyProgram.java
For more information about the javac tool, see the javac tool by Sun Microsystems, Inc.