gpt4 book ai didi

java - Eclipse 每次打开都会崩溃并关闭

转载 作者:行者123 更新时间:2023-12-02 05:46:57 25 4
gpt4 key购买 nike

当我尝试打开 Eclipse 加载 GUI 然后关闭时,我遇到了 Eclipse IDE 的胎儿错误,每次打开 Eclipse IDE 时都会发生该错误。

Error Loading DDMS Preferences
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5a0c9822a1, pid=4316, tid=140027354994432
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-2.4.so.1+0x6c2a1] soup_session_feature_detach+0x11
#
# 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:
# /opt/eclipse/hs_err_pid4316.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug

解决办法

  • 更改 eclipse 所有者。
  • 以 root 身份运行 Eclipse。
  • 在/opt上再次解压jdk。
  • 将 jre 链接从/opt 链接到/usr/bin。

但问题仍然存在,任何帮助将不胜感激。

最佳答案

基于this我的问题已经解决了。

For a workaround add the following to the end of your eclipse.ini

-Dorg.eclipse.swt.browser.DefaultType=mozilla

关于java - Eclipse 每次打开都会崩溃并关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23973188/

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