VirtualMachine in tools.jar
henri at tremblay.pro
Tue Sep 1 14:44:27 UTC 2015
Yes. In fact, it means that my original problem is now solved in JDK 9.
Which is great news.
I'm still a bit confused about the new modules and which ones are there by
default. VirtualMachine, the class I was talking about seems to be in
jdk.attach. Which I guess is loaded by default now.
On 1 September 2015 at 03:40, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 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 . 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
> The jdk.attach module is not linked into the JRE image, which I think is
> what you were asking for in your original mail.
>  http://openjdk.java.net/jeps/220
More information about the jdk9-dev