![无法加载 hsdis-arm.so;库无法加载;PrintAssembly 已被禁用](https://linux22.com/image/906914/%E6%97%A0%E6%B3%95%E5%8A%A0%E8%BD%BD%20hsdis-arm.so%EF%BC%9B%E5%BA%93%E6%97%A0%E6%B3%95%E5%8A%A0%E8%BD%BD%EF%BC%9BPrintAssembly%20%E5%B7%B2%E8%A2%AB%E7%A6%81%E7%94%A8.png)
我正在使用带有 ubuntu bionic(armv7hf)的 beaglebone black 并且尝试运行:
gradle
但是,我收到以下错误
#
# A fatal error has been detected by the Java Runtime Environment:
#
, tid=19
#
# JRE version: OpenJDK Runtime Environment (11.0+24) (build 11+24-Ubuntu-118.04)
# Java VM: OpenJDK Server VM (11+24-Ubuntu-118.04, mixed mode, serial gc, linux-)
# Problematic frame:
# J 11 c2 java.lang.StringCoding.encodeUTF8_UTF16([BZ)[B java.base@11 (369 bytes) @ 0xb406b900 [0xb406b8a0+0x00000060]
#
# Core dump will be written. Default location: Core dumps may be processed with "/bin/false" (or dumping to /jason/core.1)
#
# An error report file with more information is saved as:
/jason/hs_err_pid1.log
Could not load hsdis-arm.so; library not loadable; PrintAssembly is disabled
# http://bugreport.java.com/bugreport/crash.jsp
#
[error occurred during error reporting (), id 0x4, SIGILL (0x4) at pc=0xb6e6489c]
如果我尝试运行 maven,我会得到:
#
# A fatal error has been detected by the Java Runtime Environment:
#
, tid=24
#
# JRE version: OpenJDK Runtime Environment (11.0+24) (build 11+24-Ubuntu-118.04)
# Java VM: OpenJDK Server VM (11+24-Ubuntu-118.04, mixed mode, serial gc, linux-)
# Problematic frame:
# J 16 c2 java.lang.StringCoding.encodeUTF8_UTF16([BZ)[B java.base@11 (369 bytes) @ 0xb403d800 [0xb403d7a0+0x00000060]
#
# Core dump will be written. Default location: Core dumps may be processed with "/bin/false" (or dumping to /java_rosbridge/core.5)
#
# An error report file with more information is saved as:
# /java_rosbridge/hs_err_pid5.log
java.lang.StringCoding::encodeUTF8_UTF16 (369 bytes)
total in heap [0xb403d688,0xb403dcf4] = 1644
relocation [0xb403d76c,0xb403d798] = 44
main code [0xb403d7a0,0xb403db30] = 912
stub code [0xb403db30,0xb403db4c] = 28
metadata [0xb403db4c,0xb403db64] = 24
scopes data [0xb403db64,0xb403dc24] = 192
scopes pcs [0xb403dc24,0xb403dcb4] = 144
dependencies [0xb403dcb4,0xb403dcb8] = 4
handler table [0xb403dcb8,0xb403dce8] = 48
nul chk table [0xb403dce8,0xb403dcf4] = 12
Could not load hsdis-arm.so; library not loadable; PrintAssembly is disabled
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
我觉得它类似于java-8-oracle (1.8.0_66) PrintAssembly 问题“无法加载 hsdis-amd64.so”
但是,我找不到名为 libhsdis0-fcml 的库,而且它只适用于 amd64 和 i386
有想法吗?