failed to create the java virtual machine
2014-04-25 14:24
417 查看
eclipse启动时报错为failed to create the java virtual machine,是因为修改了内存,结果就给报错了,
修改后为-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
640m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx640m
然后重新启动,报错,然后就又改为
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx640m
再重启就可以了。
修改后为-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
640m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx640m
然后重新启动,报错,然后就又改为
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx640m
再重启就可以了。
相关文章推荐
- Java包命名规则引发的思考Java包命名规则引发的思考
- spring 任务调度 Quartz 表达式
- 安卓开发向服务发送请求,出现java java.lang.IllegalArgumentException的问题
- 解决maven与eclipse中@override出现must override a superclass method错误
- ny独木舟上的旅行java
- Ice中间件学习 04 【slice2java编译.ice文件详解】
- Project facet Java version 1.7 is not supported.
- java.util.List接口的方法subList()的使用注意事项
- Eclipse搭建iBatis框架
- Java 位运算符
- JAVA基础(JAVA移位运算符)
- java停止线程的一个示例
- 深入理解Java虚拟机读书笔记一
- Spring面试大全一
- Eclipse For JavaEE SVN更新代码时提示“unable to load default svn client ”错误
- Spring Security3
- Javamail使用代码整理
- Java中的Set,List,Map的区别
- JAVA CAS原理深度分析
- 几个java命令打包过程