On Mon, Jul 20, 2015 at 2:18 PM, Alan Bateman <alan.bate...@oracle.com>
wrote:

The attach API (meaning com.sun.tools.attach) is a JDK-specific/supported
> API. It should continue to work as it does now in JDK 9. Even better, there
> is a new method named startLocalManagementAgent that starts a local JMX
> agent and returns the connector service address. This avoids the hack that
> was loading managenent-agent.jar in past releases.


That's really good (esp. startLocalManagementAgent), but does it require
tools.jar to be available, which means a JDK, rather than JRE
installation?  VMSupport and Agent are available on any JRE. Perhaps
com.sun.tools.attach should be included in the JRE, too.

Ron

Reply via email to