From oracle
The Server JRE includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (the Java plug-in).
From the server side tools usage, the list of tools which tops for monitoring are jstack, jvisualvm, jstat, jconsole; all are missing from the jdk/bin of server jre bundle.
Any idea of the rational behind this bundling.
This is the case only for "server jre 8". For "server jre 7" all these tools where present.
After some research, I have found that many of the "missing" tool functionalities are actually still available.
For example jcmd can do the same and more than jstack. To take a thread dump in severe jre 8, use jcmd $PID Thread.print
.
jconsole tool functionality is indirectly available, even though jconsole is missing in bin, the jconsole.jar is there in the lib folder and you can execute it using java -jar lib/jconsole.jar
to get the same old functionality.
jcmd can also be used to get other memory/gc stats. Run jcmd $pid help
to see more info.
So with these tools, I think it's fine to get the same feature set in server jre 8 as we used to get in server jre 7 and it might be removed from server jre 8 to remove redundancy.
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