问题详情
IDEA中启动报错日志详情:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGFPE (0x8) at pc=0x000000010eed3868, pid=2903, tid=0x0000000000006513
#
# JRE version: Java(TM) SE Runtime Environment (8.0_211-b12) (build 1.8.0_211-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.211-b12 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# j com.sun.tools.javac.comp.ConstFold.fold2(ILcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type;+877
#
# Failed to write core dump. 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/zs/Library/Caches/JetBrains/IntelliJIdea2020.3/compile-server/hs_err_pid2903.log
Compiled method (c1) 6458 1407 1 java.lang.Integer::intValue (5 bytes)
total in heap [0x000000010f35bd50,0x000000010f35bfe0] = 656
relocation [0x000000010f35be78,0x000000010f35bea0] = 40
main code [0x000000010f35bea0,0x000000010f35bf20] = 128
stub code [0x000000010f35bf20,0x000000010f35bfb0] = 144
scopes data [0x000000010f35bfb0,0x000000010f35bfb8] = 8
scopes pcs [0x000000010f35bfb8,0x000000010f35bfd8] = 32
dependencies [0x000000010f35bfd8,0x000000010f35bfe0] = 8
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
解决方案:
替换m1 中jdk版本
jdk arm版下载地址:
https://docs.azul.com/core/zulu-openjdk/install/macos
安装:
默认安装路径:/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
参考安装:https://docs.azul.com/core/zulu-openjdk/install/macos
替换IDEA中JDK
至此 ,再次启动项目错误解决!