In *nix I just do ps -ef | grep java to see the jvm args and classpath of an executing java program. How can I see it in windows command prompt? I want to see if ce
ps -ef | grep java
You can write a small application to connect via JMX and query the mbean java.lang.Runtime. It has an attribute "ClassPath".
import java.lang.management.* ManagementFactory.getRuntimeMXBean().getClassPath()