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 loads its embedded Java Virtual Machine (JVM). If the environment variable APTJAVAVMMEMORY has a value, it is processed at startup to set the size of the memory allocation pool. You can also load the embedded JVM using the java_init function. The embedded JVM is dedicated to running Java code started from within Arbortext Editor. Arbortext Editor creates only one instance of the embedded JVM per session. The JVM is unloaded when you end the current Arbortext Editor session.
Arbortext Editor makes no attempt to use a public JVM installed on your system, even if it is already loaded for use with another program. If you choose to load another JVM, specify it with the set javavmpath ACL command. after initial startup of , use
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.