Programmer's Guide > Using the AOM > Using Java to Access the AOM > Compiling Your AOM Java Program
  
Compiling Your AOM Java Program
When compiling a Java program that uses the AOM, you must put Arbortext-path\lib\classes\aom.jar in the compiler's -classpath argument. For example:
javac -classpath "C:\Program Files\Arbortext\editor\lib\classes\aom.jar" MyClass.java
The compiled program can only be run within PTC Arbortext’s Java environment. Java programs running in a JVM outside of Arbortext Editor cannot use the AOM classes.