I’m writing a Java application that runs on Linux (using Sun’s JDK). It keeps creating /tmp/hsperfdata_username directories, which I would like to prevent. Is there any way to stop java from creating these files?
I’m writing a Java application that runs on Linux (using Sun’s JDK). It keeps
Share
Try JVM option -XX:-UsePerfData
more info
The following might be helpful that is from link https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html