简体   繁体   English

eclipse 在 ubuntu 上打开后崩溃

[英]eclipse crash after opening on ubuntu

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb5855ae7, pid=1431, tid=3028896624
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.9.2
# Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.2-0ubuntu1~10.04.1
# Problematic frame:
# J  org.eclipse.equinox.internal.p2.metadata.VersionFormatParser$Qualifier.parse([Lorg/eclipse/equinox/internal/p2/metadata/VersionFormatParser$Fragment;ILjava/util/List;Ljava/lang/String;ILorg/eclipse/equinox/internal/p2/metadata/VersionFormat$TreeInfo;)Z
#
# An error report file with more information is saved as:
# /home/skowron-line/Pobrane/eclipse/hs_err_pid1431.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
Aborted

Above screen shows error after I have tryied to lunch eclipse as root, as simple user it works just fine.在我以 root 身份尝试午餐 eclipse 后,上面的屏幕显示错误,作为简单用户它工作得很好。 In error log file there is some things but I dont understand them.在错误日志文件中有一些东西,但我不明白它们。

Does someone had such problem?有人有这样的问题吗? And know the anwser并且知道答案

That's a JVM crash, maybe initiated by some eclipse related class.这是一个 JVM 崩溃,可能是由一些 eclipse 相关的 class引发的。 Update to the latest and greatest Java an verify if it is reproduceable.更新到最新最好的 Java 以验证它是否可复制。

You have installed Sun/Oracle's JDK but it looks like you are still running OpenJDK.您已经安装了Sun/Oracle 的 JDK,但看起来您仍在运行OpenJDK。 Try calling java -version to make sure, and then call:尝试调用 java -version 以确保,然后调用:

update-java-alternatives更新-java-替代品

to set Oracle's Java as the default.将 Oracle 的 Java 设置为默认值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM