I’m trying to figure out how a system works. When I do a ‘ps -A’ I see several java processes. Is there a way to run a command that will examine a java instance and let me know what all jars or classes are loaded from that instance (preferably without stopping the instance)?
Share
You can use jconsole or visualvm to get the details of the running JVM. These require xwindows if you are using linux.
Further, jps -v will let you know what was the command line argument used to start the JVM. From there you should be able to see what jars where used for the classpath.