How to determine the exact java executable that a running app is using?
Posted
by
kjo
on Super User
See other posts from Super User
or by kjo
Published on 2012-12-06T23:05:37Z
Indexed on
2012/12/06
23:06 UTC
Read the original article
Hit count: 227
Suppose I click on a java
app's icon, and the app starts normally. How can I find out the path to the java
executable that is running the app?
Better yet, is there a way to find the exact command-line invocation of java
that would have the same effect as double-clicking on the icon? (Note: I'm aware of open -a
, and it is definitely not what I'm asking about here. The command-line invocation I'm interested in should begin with java ...
, specify a classpath, etc.)
© Super User or respective owner