日食无法创建Java虚拟机 [英] Eclipse Failed to create the Java Virtual Machine

查看:499
本文介绍了日食无法创建Java虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Eclipse进行编程的Andr​​oid应用程序。一直顺利,但今天已经给问题。当我尝试打开Eclipse,这是消息无法创建Java虚拟机。VM的初始化过程中出现错误,不能预留对象堆足够的空间这是我的eclipse.ini

I use eclipse for programming android application. Has always gone well, but today has given problems. When i try to open eclipse this is the message "Failed to create the java virtual machine. Error occurred during initialization of VM. Could not reserve enough space for object heap" this is my eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms1336m 
-Xmx1336m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M

我试着在512米改变256米,但它仍然无法正常工作。我试图重新启动,但一无所获。我试图改变-XX:MaxPermSize参数= 512M值,但没有

I tried to change "256m" in "512m" but it still doesn't work. I tried to restart but nothing. I tried to change the -XX:MaxPermSize=512M value, but nothing.

推荐答案

只需添加在Windows环境变量中你的JDK路径。

这篇关于日食无法创建Java虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆