JDK tools.jar

Asked

Viewed 92 times

0

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

Is that right or is there some way to compile the application with the tools.jar and run the application in a JRE environment?

  • Tiago, if this issue is an answer, you should post in the field below and remove from the question.

  • @diegofm Done, thanks for the tip.

1 answer

0


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

System.load("path/attach.dll");

Browser other questions tagged

You are not signed in. Login or sign up in order to post.