JAR Tools (101)
sun.tools.jcmd.JCmd - "jcmd" Command
How to run "jcmd" command from JDK tools.jar file?
"jcmd" command allows you to list all running JVM processes on your computer system and interact with them.
"jcmd" command is supported by the lib\tools.jar JAR file JDK 1, 2, 3, 4, 5, 6, 7, and 8.
You can run the "jcmd" command using the JDK tools.jar file as described below using JDK 8 as an example:
fyicenter> set JDK_HOME=\fyicenter\jdk-1.8.0_191 fyicenter> %JDK_HOME%\bin\java -cp %JDK_HOME%\lib\tools.jar sun.tools.jcmd.JCmd -h Usage: jcmd <pid | main class> <command ...|PerfCounter.print|-f file> or: jcmd -l or: jcmd -h command must be a valid jcmd command for the selected jvm. Use the command "help" to see which commands are available. If the pid is 0, commands will be sent to all Java processes. The main class argument will be used to match (either partially or fully) the class used to start Java. If no options are given, lists Java processes (same as -p). PerfCounter.print display the counters exposed by this process -f read and execute commands from the file -l list JVM processes on the local machine -h this help
⇒ sun.tools.jinfo.JInfo - "jinfo" Command
⇐ sun.security.tools.jarsigner.Main - "jarsigner" Command
⇑ Tools Supported from JDK 8- JAR Files
2019-11-21, 2071🔥, 0💬
maven-compat-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Compact module. The JAR file name may ...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...
What Is commons-logging-1.2.jar? commons-logging-1.2.jar is the JAR file for Apache Commons Logging ...
How to download and install Apache XMLBeans-2.6.0.zip? If you want to try the XMLBeans Java library,...