VirtualMachine in tools.jar
Alan Bateman
Alan.Bateman at oracle.com
Tue Sep 1 07:40:25 UTC 2015
On 01/09/2015 05:10, Henri Tremblay wrote:
> I'm back on this topic.
>
> After a little experiment, it appears that VirtualMachine is available
> by default in the JDK 9. It is in the jdk.attach module. Which I guess
> is loaded by default.
>
> So, in fact, to work on JDK9, no tools.jar is needed.
>
tools.jar has not existed in JDK 9 builds since the integration of JEP
220 [1]. All types that were previously in tools.jar are now visible by
default whereas previously you would have needed to put tools.jar on the
classpath.
The jdk.attach module is not linked into the JRE image, which I think is
what you were asking for in your original mail.
-Alan
[1] http://openjdk.java.net/jeps/220
More information about the jdk9-dev
mailing list