java -javaagent:org.jacoco.agent-0.8.6.202007310136.jar=includes=*,output=tcpserver,port=2001,address=192.168.21.196
Failed to find Premain-Class manifest attribute in org.jacoco.agent-0.8.6.202007310136.jar
Error occurred during initialization of VM
agent library failed to init: instrument
java -javaagent:jacocoagent.jar=includes=*,output=tcpserver,port=2001,address=192.168.21.196
用法: java [-options] class [args…]
(执行类)
或 java [-options] -jar jarfile [args…]
(执行 jar 文件)
其中选项包括:
-d32 使用 32 位数据模型 (如果可用)
jacocoagent.jar & org.jacoco.agent-0.8.6.202007310136.jar 都启动失败