-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Hi,
i would like to use the native-image-agent
like described here. but i get the following error
$ /opt/graalvm-ce-1.0.0-rc13/bin/./java -jar -agentlib:native-image-agent=output=./trace-file.json app.jar
Error occurred during initialization of VM
Could not find agent library native-image-agent on the library path, with error: libnative-image-agent.so: cannot open shared object file: No such file or directory
i get basically the same error, when i use the JAVA_TOOL_OPTIONS
:
$ export JAVA_TOOL_OPTIONS="-agentlib:native-image-agent=output=/tmp/trace-file.json"
$ /opt/graalvm-ce-1.0.0-rc13/bin/./java -jar app.jar
Picked up JAVA_TOOL_OPTIONS: -agentlib:native-image-agent=output=/tmp/trace-file.json
Error occurred during initialization of VM
Could not find agent library native-image-agent on the library path, with error: libnative-image-agent.so: cannot open shared object file: No such file or directory
i use graalvm rc13.
thx for having a look!
PatrykGala, litongjava, mdoyle179, tlvlp, jesperancinha and 1 moreTerkwood and mdoyle179
Metadata
Metadata
Assignees
Labels
No labels