关于Unbutu(64位)Eclipse闪退问题的解决方案

今天遇上了一个非常蛋疼的问题:

本来今天打算在Ubuntu下搭个android开发环境,从官网上下载了Eclipse+ADT,解压,打开,一切正常。

不料,天有不测风云,新建了一个Project,刚刚打算敲代码时,新建了一个类,光标就闪了几下,直接闪退!妈蛋,再试一次,依旧闪退!

看看终端中的信息,如下:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2a7696a2a1, pid=6640, tid=139823043487488
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 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:
# /home/jason/codemonkey/adt-bundle-linux-x86_64-20140702/eclipse/hs_err_pid6640.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.
#


尼玛,我的第一反应就是,Jre又出什么状况了?

于是,重新配置JDK,JRE。

然后重试,依旧闪退!!!

。。。。。。

。。。。。。

。。。。。。

经过无数次挣扎之后,终于找到了解决办法:

打开eclipse目录下的eclipse.ini文件,添加如下一行:


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


于是问题完美解决!

不要问我为什么,因为我也不知道。。。


  • 4
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值