我运行命令sh jpexport /opt/jprofiler8/Snapshots/test/test.0.jps AllObjects -format=html /opt/jprofiler8/Snapshots/test/test.0.html
并获取下一个日志。
[was@test-env3 bin]$ sh jpexport /opt/jprofiler8/Snapshots/test/test.0.jps AllOb jects -format=html /opt/jprofiler8/Snapshots/test/test.0.html
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Loading /opt/jprofiler8/Snapshots/test/test.0.jps
JProfiler has not been initialized. Please run the JProfiler executable first
我在做什么错了?
答案 0 :(得分:0)
仅在设置了许可证密钥后,JProfiler中的导出可执行文件才能工作。首先运行JProfiler GUI,输入密钥。如果计算机上没有UI,请从已输入密钥的另一台计算机上将$HOME/.jprofiler10/config.xml
复制到同一位置。