JDK tools.jar

0

I'm using tools.jar of JDK (more specifically Attach ) in an application, however, according to my research, tools.jar can not run in a JRE environment "because it depends on JDK."

Is that right or is there any way to compile the application with% dependency% and run the application in a JRE environment?

    
asked by anonymous 21.10.2016 / 21:03

1 answer

0

Resolved by loading the attach.dll when starting the application.

System.load("path/attach.dll");
    
22.10.2016 / 23:07