FULL PRODUCT VERSION :
java version "1.8.0_144"
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
When Java process starts it creates .java_pid<provide PID> file in /tmp folder, can we set to use different folder than /tmp
it is already specified with -Djava.io.tmpdir for user defined path, but this path is not taken into consideration and always it creates in /tmp folder
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
start any java process and the file will be created in /tmp folder
This bug can be reproduced always.