You can look and see if jconsole is present. I'm not sure when that was introduced.
In Linux/Unix, you can send the process a signal, from any command shell, to get a thread dump. I forget which signal, but you can google for it.
(where PID is the process ID)
kill -3 PID