解決Fail to create the java Virtual Machine,failvirtual

來源:互聯網
上載者:User

解決Fail to create the java Virtual Machine,failvirtual

在使用eclipse進行java編程或者安卓編程的時候,會偶爾出現這樣的問題:Fail to create the java Virtual Machine。出現這種提示的願意有很多,但終究還是eclipse本身的一個小問題

--------------------------------------------------------------

 技術qq交流群:JavaDream:251572072

-------------------------------------------------------

開啟eclipse,出現以下提示,確定退出
解決Fail to create the java Virtual Machine
2
到eclipse安裝目錄下,找到eclipse.ini
解決Fail to create the java Virtual Machine
3
用記事本開啟
解決Fail to create the java Virtual Machine
4
按鍵盤ctrl+F,複製以下字元“launcher.XXMaxPermSize”,去掉引號,尋找
解決Fail to create the java Virtual Machine
5
將隨後出現的兩個216m改成128m
解決Fail to create the java Virtual Machine


方法2
仍然在到eclipse安裝目錄下,找到eclipse.ini
解決Fail to create the java Virtual Machine
用記事本開啟
解決Fail to create the java Virtual Machine
按鍵盤ctrl+F,複製以下字元“Dosgi.requiredJavaVersion”,去掉引號,尋找
解決Fail to create the java Virtual Machine
把768改成512,儲存記事本
再開啟eclipse就行了
解決Fail to create the java Virtual Machine


eclipse啟動時彈出Failed to create the Java Virtual Machine 是為何?怎解決?

JAVA虛擬機器報錯. 是你的eclipse版本和虛擬機器不相容導致.
解決方案:
開啟eclipse所在目錄,找到 eclipse.ini檔案,將其修改為如下內容,即可啟動Eclipse

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx256m
 
eclipse啟動時彈出Failed to create the Java Virtual Machine 是為何?怎解決?

JAVA虛擬機器報錯. 是你的eclipse版本和虛擬機器不相容導致.
解決方案:
開啟eclipse所在目錄,找到 eclipse.ini檔案,將其修改為如下內容,即可啟動Eclipse

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx256m
 

聯繫我們

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