The Java configuration file (JAVA.CFG) is the first file your system reads when you load Java. This file is not necessary to load or run java applications but it will set some default environment values if the file is present. When you install JVM, the install procedure creates the following default environment settings in the java.cfg file:
JAVA_HOME=SYS:\JAVAMGMT_HOME=SYS:\PUBLIC\MGMTJAVA_FONTS=SYS:\JAVA\LIB\FONTS
If you want to update the SYS:\SYSTEM\AUTOEXEC.NCF file, add the following lines right after the mount all command in the file:
SEARCH ADD SYS:\JAVA\BINSEARCH ADD SYS:\JAVA\BIN\CLASSICSEARCH ADD SYS:\JAVA\NWGFX\binSTARTX
HINT: The STARTX line is optional. It causes the Java GUI to begin running at server startup. You might want to delete any other instances of these lines in the AUTOEXEC.NCF.