I'm trying to launch Java Mission Control as provided in the JDK 1.8.0_161 on Mac OS X High Sierra (10.13.2, with Supplemental Update of January 2018) and the JMC application is frozen, i.e. I'm unable to browse in the JVM Browser panel.
As I've other former JDK installed, therefore I've checked JMC with the following versions with success:
So the problem is very specific to the JDK 1.8.0_161.
(To see your JDKs, run the command /usr/libexec/java_home -V
)
(To run a former JMC, i.e. /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/jmc
)
As a side verification, I've run the JMC of the JDK 1.8.0_161 on Windows 10 with success.
So do you experience the same issue ?
Is there some settings to tweak to have it working ? (E.g. would it be an issue related to Mac OS X Gatekeeper !?)
And how to report it to Oracle properly ... I've searched their bug database without success, and when I try to submit a bug, I cannot figure which would be the right subcategory (c.f. https://bugreport.java.com/submit_intro.do), as JMC is not listed in the TOOLS section ... Any advice !?
There's a workaround for this, as mentioned by @jwatkins in a comment.
Go to JDKs jmc path (You can find this path by right-clicking on jmc icon in the dock -> Options -> Show in Finder, Then right click on App -> Show Package Contents).
cd
/Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/lib/missioncontrol
Back up exisiting jar using sudo mv
plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar
../
sudo cp ~/Downloads/swt.jar
plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar
jmc
NOTE: Remember! your new copied jar file's name should be exactly as the old one(it uses OSGi bundles.info to load jars)