Although the preferred mechanism of controlling the production of Javadumps is now by the use of dump agents using -Xdump:java, you can also use the previous mechanism, environment variables.
The following table details environment variables specifically concerned with Javadump production:
Environment Variable | Usage Information |
---|---|
DISABLE_JAVADUMP | Setting DISABLE_JAVADUMP to true is the equivalent of using –Xdump:java:none and stops the default production of javadumps. |
IBM_JAVACOREDIR | The default location into which the Javacore will be written. |
JAVA_DUMP_OPTS | Use this environment variable to control the conditions under which Javadumps (and other dumps) are produced. See Dump agent environment variables for more information. |
IBM_JAVADUMP_OUTOFMEMORY | By setting this environment variable to false, you disable Javadumps for an out-of-memory exception. |