Making Classes Available to the Embedded JVM
You can use the
set javaclasspath command or the
append_javaclass_path function to set the list of directories where the embedded JVM can locate your Java classes. The default setting of
set javaclasspath is empty. Regardless of whether
set javaclasspath is set, the embedded JVM searches the distributed Java classes in
Arbortext-path\lib\classes\aom.jar. The
aom.jar file holds
com.arbortext.epic, which contains the
Arbortext Editor distributed Java classes that implement the AOM and DOM.
Any .class and .jar files in Arbortext-path\custom\classes are automatically added to the Arbortext Editor class path.
Subsequent changes to specify external Java class directories do not affect the running JVM until you exit Arbortext Editor and start a new session. Be sure to set the path to your directory before making your first Java function call.