OpenJDK JDK11 not having JMC- Java Mission Control

2019-03-29 12:13发布

问题:

I was hoping JMC would be available with OpenJDK, JDK11 binaries as this has been opensourced from Java 11 by oracle, but could not locate this in Oracle and AdoptOpenJDK Java-11 binaries under bin folder. I have also tried this https://jdk.java.net/jmc/ as some article said its being releases separately. Does anyone know how to get JMC for OpenJDK-11.

回答1:

Normally the builds will be available here: https://jdk.java.net/jmc/

See http://hirt.se/blog/?p=1007 for more information on the new delivery format.

The builds have been (temporarily) pulled because a switch from the old javax.mail coordinates to the new coordinates at jakarta-ee has not yet gotten the proper third-party approval. A new build, with plenty of fixes and with all the approvals properly in place (or a revert of the change), should be along within the next few weeks.

Up until then it is possible (also not hard) to build JMC 7, by pulling the official JMC repo from here: http://hg.openjdk.org/jmc/jmc7

You can also build and pull the mainline mirror from the inofficial GitHub repo: https://github.com/JDKMissionControl/jmc

For more information on building JMC, see: http://hirt.se/blog/?p=947 (or simply read the README.md in the repository root)

Good luck!



回答2:

Since Java11, JMC is not part of the JDK any more. It is a separate project, as you already noticed.

https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html



回答3:

I believe they're still evaluating GitHub to moving to an independent repository with current progress being still under jmc7.

You can currently download standalone versions from Oracle's website for mission-control.



标签: java java-11 jmc