Add troubleshooting entry about jlink
@@ -322,6 +322,11 @@ If your JVM gets hang when attaching the Java agent, please create a thread dump
through https://discuss.elastic.co/c/observability/apm/58[our forum] or by opening an issue on our
https://github.com/elastic/apm-agent-java[GitHub repository].
+[float]
+[[trouble-shooting-jlink]]
+==== Custom Java runtimes using `jlink` ====
+If you use `jlink` to create a custom runtime, make sure the following modules are added: `--add-modules java.base,java.logging,java,jdk.zipfs`
+
[float]
[[disable-agent]]
=== Disable the Agent
