Closed ajermakovics closed 4 years ago
Java 9 has no tools.jar :)
@janhoy That... is going to be a headache:) Haven't had the chance to dive into Java 9 so not sure how easy it would be to migrate.
The new version is re-written in Go and no longer depends on tools.jar https://github.com/ajermakovics/jvm-mon/releases Works with Java 11
To avoid setting
JAVA_HOME
env var before launchingPerhaps using
javax.tools.ToolProvider.getSystemToolClassLoader()
http://docs.oracle.com/javase/7/docs/api/javax/tools/ToolProvider.html#getSystemToolClassLoader()