eclipse開啟出現Failed to create the java virtual machine,eclipsefailed

來源:互聯網
上載者:User

eclipse開啟出現Failed to create the java virtual machine,eclipsefailed

今天上班,開啟電腦,開啟Eclipse,我去,傻眼了,出現下面的提示:



依稀的記得很多年前也出現過這個問題,當時是弄好了但是現在有忘了。所以想想寫下這個部落格,

方便以後,沒辦法,人到了一定年齡,記憶力就不好了。

出現這類問題,無非就是啟動設定檔有問題,首先開啟exe程式目錄的eclipse.ini檔案,如下:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms128m
-Xmx512m
-XX:PermSize=40M 
-XX:MaxPermSize=512M

在網上試了一下,多數都是改那個openFile和platForm下面的256為128.

我試了試,改完之後還是不行啊.

然後我又接著改,把jvm的路徑給加進去再試試,


後面試試了 還是不行啊,再繼續看看,我把後面的最後一行的512改成了256試試:


再開啟了,哎,我勒個去,可以了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.