I can use jps to list the running java processes and use jstack -l process_id to get the stack information of the running Java process. I want to know that this process starts based on the java version. Is there any way to do this? I do not need to use the jstack tool. thank.
jstack -l 23819 2014-11-12 12:36:11 OpenJDK full flow sensor 64-bit VM server (mixed mode 23.25-b01):
"Attach Listener" daemon prio = 10 tid = 0x000000000272f800 nid = 0x614b Waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
Blocked managed synchronizers: - No
source
share