Programmer's Guide > Using the AOM > Using Java to Access the AOM > Java Virtual Machine (JVM) Management
  
Java Virtual Machine (JVM) Management
By default at startup, Arbortext Editor detects and loads an installed Java Virtual Machine (JVM). You can also load the detected JVM using the java_init function. The JVM instance is dedicated to running Java code started from within Arbortext Editor. Arbortext Editor creates only one instance of the JVM per session. The JVM is unloaded when you end the current Arbortext Editor session.
If you choose to load another JVM, specify it with the set javavmpath ACL command, or APTJAVAVMPATH environment variable.
You can use the set javavmmemory ACL command to set the maximum size of the memory allocation pool before the JVM starts.
* 
If APTJAVAVMMEMORY has a value, all subsequent set javavmmemory commands are ignored.
By default, Arbortext Editor uses the JVM in the Java Runtime Environment (JRE) included in the Arbortext Editor installation. The JRE is located in the Arbortext-path\bin\jre directory. You can see the current JVM version included with Arbortext Editor by choosing Tools > Administrative Tools > Java Console to open the Arbortext Java Console.