Table C-2 lists some useful Java Virtual Machine (JVM*) commands.
Table C-2 Java Commands
Command
Description
java -show
Lists all loaded Java processes.
java -killnnn
Kills the specified Java process. (nnn represents the Java process number from the java -show listing.)
java -killzfsexit
Kills all Server Management Java processes.
java -killall
Stops all loaded Java processes; however, it leaves Java loaded.
java -version
Displays the JVM version.
java -exit or unload java
This attempts to unload all Java process, including the JVM. Java ‑exit is the preferred command.
This command is required for unloading any native NLM™ files that are called from Java, such as zenfile.nlm.