使用eclips发展java当闪回的问题
2015-07-23 18:25
573 查看
近期開始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。
根据该方法尝试。果然,问题消失。
刚開始不知道怎么回事以为是自己不小心误操作吧界面给关了,但是发生了好几次。之后通过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。
根据该方法尝试。果然,问题消失。
相关文章推荐
- Java序列化与反序列化
- java视频教程每一张都讲的很细
- 查看eclipse ADT SDK JDK版本号
- 分析java CPU消耗
- Java基础——原码, 反码, 补码 详解
- eclipse中SVN分支合并到主干
- java.net.NoRouteToHostException: No route to host
- 通用 Java 文件上传和下载组件的设计与实现
- Mybatis整合Spring
- Spring事务配置的五种方式和spring里面事务的传播属性和事务隔离级别
- 生成静态页java代码
- 生成静态页java代码
- Spring Data
- Java设计模式(一) 之 详解单例模式
- 排序算法总结&&java代码实现
- java处理json
- Eclipse Java代码折叠插件 Code Folding
- JAVA比较两张图片相似度的方法
- Eclipse迁移到AndroidStudio的官方指导文档
- win7下eclipse运行mapreduce程序