2014-03-27 131 views
0

我真的非常渴望在ubuntu 12.04(32位)上安裝eclipse。問題是,eclipse在splashscreen顯示時掛起。我運行-debug選項的Eclipse和有以下日誌消息:Eclipse Juno掛起

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) 

任何想法如何解決這一問題?

+0

從哪裏得到這份Eclipse的副本?什麼是文件名?你把它打包到新的地方了嗎?你有沒有嘗試過一個更新的JRE(Java 6是一年前的EOL)?更新的Eclipse(Kepler SR2是目前的)?我從eclipse.org獲得了 – nitind

+0

。是的,我解開新的目錄。目前我正在嘗試用java 7,但沒有運氣。現在嘗試開普勒。 – Iwan

+0

這裏是日誌消息: # #致命錯誤已經由Java運行時環境中檢測到: # #SIGSEGV(0XB)在PC = 0xb67c9c99,PID = 30041,TID = 3075901120 # #JRE版本:JavaTM SE運行時環境(7.0_51-b13)(build 1.7.0_51-b13) #Java VM:Java HotSpot TM客戶端VM(24.51-b03混合模式linux-x86) #有問題的幀: #C [libgtk-x11-2.0.so.0 + 0x1e0c99] gtk_text_buffer_get_tag_table + 0x99 # #無法寫入核心轉儲。核心轉儲已被禁用。爲了使核心傾銷,啓動Java再次 # – Iwan

回答

0

試過所有的選項,沒有任何工作。所以我終於想出瞭解決方案: 我刪除了C:\ Program Files和C:| Program Files(x86)文件夾中的所有JRE安裝。安裝了一個新的JDK 7軟件包,複製了JDK7 \ bin文件夾的完整路徑,並將其附加到我的Windows 7 PC的「環境變量」下的「路徑」變量的末尾。然後重新啓動一切,所以它工作。