Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
fstab committed Dec 11, 2018
1 parent b223eae commit 5f05bbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion promagent-framework/promagent-loader/README.md
Expand Up @@ -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.

Expand Down

0 comments on commit 5f05bbc

Please sign in to comment.