无法打开Eclipse,如何处理呢?

时间:2014-01-09 22:54:48

标签: eclipse fedora

我无法在笔记本电脑上打开Eclipse,我正在使用 Fedora 18 , 它会提示一个窗口,上面写着:

    JVM terminated. Exit code=13
    /usr/bin/java
    -Xms128m
    -Xmx512m
    -Dorg.eclipse.swt.browser.UseWebKitGTK=true
    -Dhelp.lucene.tokenizer=standard
    -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
    -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
    -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
    -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
    -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
    -XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles
    -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
    -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
    -XX:MaxPermSize=256m
    -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130701-1300.jar
    -os linux
    -ws gtk
    -arch x86_64
    -showsplash /usr/lib64/eclipse//plugins/org.eclipse.platform_4.2.2.v20130701-1255/splash.bmp
    -launcher /usr/lib64/eclipse/eclipse
    -name Eclipse
    --launcher.library /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130701-1300/eclipse_1503.so

我的java版

    [kai@kitty kai]$ java -version
    java version "1.7.0_60"
    OpenJDK Runtime Environment (fedora-2.4.2.0.fc18-i386)
    OpenJDK Server VM (build 24.0-b56, mixed mode)

eclipse.ini的内容是:

eclipse.ini的内容是:

    -preventMasterEclipseLaunch
    -startup
    plugins/org.eclipse.equinox.launcher_1.3.0.v20130701-1300.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130701-1300
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    -vmargs
    -Xms128m
    -Xmx512m

    -Dorg.eclipse.swt.browser.UseWebKitGTK=true
    -Dhelp.lucene.tokenizer=standard
    -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
    -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
    -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
    -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
    -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
    -XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles
    -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
    -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

我不知道该怎么办。 如何处理这个问题?

1 个答案:

答案 0 :(得分:0)

尝试检查一下(来自另一个答案):

  1. 检查jvm是64位还是32位。 java -version会告诉你。如果你发现这是一个64位的jvm,那么回到eclipse.org并下载一个64位的eclipse版本。你有一个32位的jvm日食。请参阅错误消息,其中包含-arch x86
  2. 尝试使用-vm参数从shell启动eclipse。在ubuntu上,您可以在/ var / lib / jvm /下找到已安装的jre / jdk。 E.g:
  3. ./ eclipse -vm / var / lib / jvm / sun-java6-jdk / bin

    您可以将此参数添加到eclipse.ini文件中。

    说点什么!