You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bash-5.2$ JAVA_HOME=/usr/lib/jvm/java-17-openjdk ./btrace/bin/btrace 184 samples/AllMethods.class
Unable to locate tools.jar. Please, make sure JAVA_HOME points to a valid JDK installation
bash-5.2$ JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk ./btrace/bin/btrace 184 samples/AllMethods.class
[main] INFO org.openjdk.btrace.client.Main - Attaching BTrace to PID: 184
Unable to open socket file: target process not responding or HotSpot VM not loaded
From reading other issues, this seems like something that is supported, but I can't seem to get it to work. Am I doing something wrong here, or is this just not supported?
The text was updated successfully, but these errors were encountered:
SkrrtBacharach
changed the title
Clarify which versions of java which Btrace can target
Clarify the versions of java which Btrace can target
Mar 31, 2024
BTrace needs either 'tools.jar' file or 'jmods' directory under the JAVA_HOME location.
Can you check that you have those items there? And JDK 17 is supported, yes.
I've had some problems trying to trace a binary which runs against jdk17. Is this supported? I'm using the precompiled ZIP release: https://github.com/btraceio/btrace/releases/download/v2.2.4/btrace-v2.2.4-bin.zip
From reading other issues, this seems like something that is supported, but I can't seem to get it to work. Am I doing something wrong here, or is this just not supported?
The text was updated successfully, but these errors were encountered: