Error opening zip file or JAR manifest missing : /usr/local/YourKit-JavaProfiler-2019.1/bin/linux-x86-64/libyjpagent.so
Error occurred during initialization of VM
agent library failed to init: instrument
Running Docker image: FROM adoptopenjdk:11.0.3_7-jre-hotspot-bionic
What is the platform ("uname -a")?
What is the output of "java -version"?
Error opening zip file or JAR manifest missing
The error message is strange, it looks like the JVM wants to open the agent library as a ZIP/JAR which is wrong. How do you specify the agent in command line? It should be -agentpath:<path to .so>, and it should be among other JVM options like -Xmx or -D.
Thanks. I used the docker links as reference. Just to add, I'm running in k8s but don't think that will make a difference. It could be a typo but I checked and it isn't. I've also confirmed that the agent is in that path.