package java.lang.management does not exist

Pete Brunet peter.brunet at oracle.com
Fri Jan 9 03:01:22 UTC 2015


Hi, I'd like to use
java.lang.management.ManagementFactory.getThreadMXBean.dumpAllThreads(true,
true) but when building I get package java.lang.management does not
exist.  Is there a way to get the build to find this package?  Or is
there alternative to the dumpAllThreads method in some other package?

Thanks, Pete


More information about the jdk9-dev mailing list