Eclipse啟動:Failed to create java virtual machine

來源:互聯網
上載者:User

今天一早,開啟電腦,啟動Eclipse,報以錯誤:Failed to create java virtual machine.

我剛開始使用這個工具,求教了同事,同事說不曉得,是不是中毒了。可恨的是,公司上不了網。

我把上周五裝的手機小幫手卸了,開啟了殺毒軟體。

我以前在另外一個盤裝過一個低版本的Eclipse,開啟一看,正常的啊。

同事用手機查了下,說要修改eclipse.ini檔案。把裡面的256改成128就好了。

突然想起來,上周五改動過這個檔案,將裡面的值調大了。

修改後檔案內容如下:

-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
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Xms512m
-Xmx1024m


關了eclipse重新開啟,一切正常了。原因,還未清楚。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.