【发布时间】:2014-04-28 23:20:06
【问题描述】:
我无法使用以下命令在 linux 上启动带有附加配置文件的 jvm:
java -Xverify:none -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf TestClass
我收到以下错误:
Error occurred during initialization of VM
agent library failed to init: JPIBootLoader
CGProf: command not found
在 windows 上,上述命令运行成功,我从类的 main 方法收到消息。
Linux 详情
uname -aLinux michael 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
LD_LIBRARY_PATH=/home/michael/eclipse/tptp/agntctrl.all_platforms-TPTP-4.7.2/linux_em64t/lib/:/home/michael/eclipse/tptp/linux.gtk.x86-TPTP-4.7。 2/plugins/org.eclipse.tptp.platform.jvmti.runtime_4.6.3.v201102041710/agent_files/linux_em64t/
TPTP_AC_HOME=/home/michael/eclipse/tptp/agntctrl.all_platforms-TPTP-4.7.2/linux_em64t
【问题讨论】:
标签: java jvm eclipse-tptp