Permalink
Browse files

update README

  • Loading branch information...
fstab committed Dec 11, 2018
1 parent b223eae commit 5f05bbcac3ea08e2a02c4a50414511e79325b07d
Showing with 3 additions and 1 deletion.
  1. +3 −1 promagent-framework/promagent-loader/README.md
@@ -7,7 +7,9 @@ Experimental tool for loading the promagent into an existing JVM. Usage:
java -cp $JAVA_HOME/lib/tools.jar:/path/to/promagent-loader.jar io.promagent.loader.PromagentLoader -agent /path/to/promagent.jar -port 9300 -pid <pid>
```

The JAR file `$JAVA_HOME/lib/tools.jar` must exist. It is part of JDK 8. With JDK 9 or higher, it might be possible to use the promagent-loader without this external dependency, because the classes were moved into the runtime.
The `promagent-loader` uses OpenJDK API and will probably not work with other Java VMs.

With JDK 8 or earlier, the file `$JAVA_HOME/lib/tools.jar` must exist. With JDK 9 or higher, the loader runs without this external dependency, because the classes have been moved into the Java runtime.

The `/path/to/promagent.jar` must be an absolute path, not a relative path.

0 comments on commit 5f05bbc

Please sign in to comment.