Wednesday, March 7, 2012

Changing the Default Directory of IBM JVM Dump Artifacts

On the IBM JVM, the various environment variables used to change dump parameters (e.g. IBM_JAVACOREDIR, etc.) have been deprecated in favor of the -Xdump generic JVM command line argument.
Someone asked how to change the directory where all the dump artifacts go using -Xdump. Here it is for *nix, and just change /tmp/ in each argument to the desired directory (on Windows, use the Windows path syntax):


https://www.ibm.com/developerworks/mydeveloperworks/blogs/kevgrig/entry/changing_the_default_directory_of_ibm_jvm_dump_artifacts?lang=en_us