Is it possible to write hs_err_pid * .log in a specific directory (other than the class directory) if the Java virtual machine crashes?

When a Java application crashes outside the java virtual machine, the hs_err_pidXXXX.log log file is created in the same directory as the class that is running.

Can this file be generated in another directory?

My client wants to change to read only this directory, but I do not like to lose these files.

+3
source share

Source: https://habr.com/ru/post/1775196/


All Articles