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 certain jars are actually in the classpath of a running weblogic server.
You can fire up JConsole, connect to the JVM running Weblogic and then navigate to the "VM Summary" tab to inspect the classpath/vm args. This was specifically to know if it can be can be done via command prompt in windows. jmxterm can be used to query the appropriate mbean for classpath.
Non-Standard Java JVM Options Like the standard options, you're able to retrieve the full list of non-standard JVM command line options by calling java -X at the command line.
From the command line I would use
jinfo < pid >
which will give you this information and more
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With