We have a JRE installed on our production environment, but not a JDK. The versions of the JRE and OS are below.
[me@mymachine ~]$ java -version java version &
kill -3
thread dump will be sent in to /logs/catalina.out file
OR use combination below :
-XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=~/jvm.log
if you want to redirect., but for that you have to run your process through command line.