gpt4 book ai didi

java - 如何获取 IBM Java 8 的调试信息包

转载 作者:太空宇宙 更新时间:2023-11-04 11:59:10 25 4
gpt4 key购买 nike

我需要阅读一些 Java 8 核心转储以尝试解决应用程序崩溃的原因。

为了尝试读取转储文件,我正在执行以下操作。

gdb /opt/ibm/jdk-1.8.111-x32/bin/java /tmp/core.20181102.131335.4326.0001.dmp

但是,它当然需要针对不同 Java 库的正确调试信息包。 gdb 应用程序报告以下库“缺少单独的调试信息”。

/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/j9vm/libjvm.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libjvm.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libjsig.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9vm28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9thr28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9hookable28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9prt28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libhyprtshim28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libhythr.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9dmp28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9zlib28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9trc28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9bcv28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9gc28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9dyn28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9vrb28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9shr28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libj9jvmti28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/default/libjclse7b_28.so
/opt/ibm/jdk-1.8.111-x32/jre/lib/i386/libverify.so

我正在运行 SLES 11 SP3,不幸的是他们似乎没有维护 IBM Java 8 的调试信息包。

我正在浏览供应商网站,但找不到它们。谁能告诉我如何获得这些调试信息文件?

最佳答案

好的,看起来 Java 8 JDK 带有核心转储查看器。 Here is the documentation .

关于java - 如何获取 IBM Java 8 的调试信息包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53143323/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com