Eclipse Juno挂起

时间:2014-03-27 17:10:32

标签: eclipse ubuntu

我真的很想在ubuntu 12.04(32位)上安装eclipse。问题是,当启动闪屏时,eclipse会挂起。我使用-debug选项运行eclipse并得到以下日志消息:

Start VM: -Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/iwan/dev-new/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /home/iwan/dev-new/eclipse/eclipse
-name Eclipse
--launcher.library /home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807/eclipse_1502.so
-startup /home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-product org.eclipse.epp.package.jee.product
-debug
-clean
-clearPersistedState
-vm /usr/lib/jvm/java-6-oracle/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
Install location:
    file:/home/iwan/dev-new/eclipse/
Configuration file:
    file:/home/iwan/dev-new/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/iwan/dev-new/eclipse/configuration/
Framework located:
    file:/home/iwan/dev-new/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Framework classpath:
    file:/home/iwan/dev-new/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Splash location:
    /home/iwan/dev-new/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
Debug options:
    file:/home/iwan/dev-new/eclipse/.options loaded
Time to load bundles: 70
Starting application: 11447

我的java版本是

java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)

知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

尝试了所有选项,没有任何效果。所以我终于找到了解决方案: 我删除了C:\ Program Files和C:| Program Files(x86)文件夹中的所有JRE安装。安装了一个新的JDK 7软件包,复制了JDK7 \ bin文件夹的完整路径,并将其附加在我的Windows 7 pc的“环境变量”下的“Path”变量的末尾。然后重新启动所有内容,这样就可以了。