近期開始android的开发学习。当然要先从java入手了。我选择eclips作为开发的IDE,在測试java代码例子时,假设我的代码是能够出现系统自己主动代码补齐时eclips就会立马闪退。

刚開始不知道怎么回事以为是自己不小心误操作吧界面给关了,但是发生了好几次。之后通过shell把eclips启动。这时能够看到eclips闪退时的log:

paky@paky-ubuntu:~/android/eclipse$ ./eclipse 

#

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

#

# SIGSEGV (0xb) at pc=0xa110186d, pid=7618, tid=3075786496

#

# JRE version: OpenJDK Runtime Environment (7.0_55-b14) (build 1.7.0_55-b14)

# Java VM: OpenJDK Client VM (24.51-b03 mixed mode, sharing linux-x86 )

# Problematic frame:

# C [libsoup-2.4.so.1+0x5486d] soup_session_feature_detach+0x1d

#

# 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/paky/android/eclipse/hs_err_pid7618.log

#

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

# instructions on how to reproduce the bug and visit:

# http://icedtea.classpath.org/bugzilla

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

# See problematic frame for where to report the bug.

#

已放弃 (核心已转储)

paky@paky-ubuntu:~/android/eclipse$ ./eclipse

到网上了了非常多方法来解决问题,最后发现有人说要在eclips.ini里面添加:-Dorg.eclipse.swt.browser.DefaultType=mozilla

从字面来看就是解决IDE的自己主动补齐函数和变量的浏览插件缺省使用mozilla。

根据该方法尝试。果然,问题消失。

版权声明:本文博客原创文章,博客,未经同意,不得转载。

最新文章

  1. csv
  2. MM常用表
  3. 我曾经的第一个OC程序
  4. Longest Increasing Path in a Matrix
  5. BCP 命令
  6. Chrome开发者工具学习
  7. Struts ForwardAction Example
  8. RocketMQ入门(2)最佳实践
  9. Genymotion常见问题汇总(转)
  10. Spring Remoting by HTTP Invoker Example--reference
  11. UVa 10098: Generating Fast
  12. uvc摄像头代码解析7
  13. ecstore在MySQL5.7下维护报错WARNING:512 @ ALTER IGNORE TABLE
  14. PHP开发中涉及到emoji表情的几种处理方法
  15. 【Git之旅】1.Git常用命令
  16. asp.net core系列 31 EF管理数据库架构--必备知识 反向工程
  17. Android为TV端助力 MediaPlayer 错误代码(error code)总结 转载
  18. c# throw和throw ex
  19. spring与disruptor集成的简单示例[z]
  20. MyBatis基础入门《十九》动态SQL(set,trim)

热门文章

  1. volatile解析(转)
  2. 【j2ee spring】27、巴巴荆楚网-整合hibernate4+spring4(2)
  3. uva-11234 Expressions
  4. java JNI开发
  5. 03.Msbuild
  6. 领域驱动设计(DDD)部分核心概念的个人理解(转)
  7. leetcode dfs Validate Binary Search Tree
  8. javascript焦点图(能够自己主动切换 )
  9. cocos2d-x于android在call to OpenGL ES API with no current context
  10. CSDN-markdown编者LaTex数学公式