Programmer's Guide > Using the AOM > Using Java to Access the AOM > Debugging Java Applications
  
Debugging Java Applications
Arbortext Publishing Engine requires you to obtain a JRE from Oracle (www.java.com) and install it. Arbortext supports the Java Platform Debugger Architecture (JPDA, see http://java.sun.com/products/jpda/),any JPDA compliant Java debugger can hook into Arbortext.
JDB can also be used to debug a Java program using two methods: the socket method and the shared memory method.
Before using JDB, ensure you have Oracle JDK version 11 or later installed on your workstation. Java debugging related DLLs and shared libraries must be accessible by the debugger. The PATH environment variable must include the bin directory of the JDK.
Compile your Java programs with the -g flag (for debugging).