使用Eclipse时出现报错(Failed to create the Java ..)如何解决

这期内容当中小编将会给大家带来有关使用Eclipse时出现报错(Failed to create the Java ..)如何解决,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。

Eclipse 开发java 出现Failed to create the Java Virtual Machine错误解决办法

一直用Eclipse开发Java,突然有这么一天,无法启动了,splash窗口显示“Failed to create the Java Virtual Machine”

 修改eclipse.ini配置文件,找到下面的片段:

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m 

 修改为:

–launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
128m

 保存后重启,正常启动了。

上述就是小编为大家分享的使用Eclipse时出现报错(Failed to create the Java ..)如何解决了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注行业资讯频道。