如何修复使用java运行logisisim的错误

问题描述 投票:0回答:1

我正在尝试使用以下命令打开logisim

(base) MacBook-Pro-2:proj3 muaji$ java -jar tools/logisim-evolution.jar

我收到此错误,并且不知道该怎么办:

# A fatal error has been detected by the Java Runtime Environment:

# 

# SIGILL (0x4) at pc=0x00007ff816429bc5, pid=3151, tid=259

# 

# JRE version: OpenJDK Runtime Environment Homebrew (21.0.1) (build 21.0.1)

# Java VM: OpenJDK 64-Bit Server VM Homebrew (21.0.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)

# Problematic frame:

# C  \[AppKit+0xc92bc5\]  \_NSCarbonMenuCrashIfNeeded+0x258

# 

# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

# 

# An error report file with more information is saved as:

# /Users/muaji/Desktop/CS/proj3/hs_err_pid3151.log

# 

# If you would like to submit a bug report, please visit:

# https://github.com/Homebrew/homebrew-core/issues

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

Abort trap: 6

有人知道该怎么办吗?我已经尝试过运行“ulimit -c unlimited”,但它似乎没有帮助。任何帮助将不胜感激,谢谢

java java-8 sdk
1个回答
0
投票

似乎是 macOS 14 Sonoma 的 Apple 组件中的一个错误,影响了 JDK 的 Homebrew 分发:https://github.com/Homebrew/homebrew-core/issues/150824

尝试其他发行版或以前版本的 JDK。

© www.soinside.com 2019 - 2024. All rights reserved.