Java 7的Eclipse错误 [英] Eclipse Error with Java 7

查看:50
本文介绍了Java 7的Eclipse错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有在Ubuntu 12.04和Java 7上运行的springtool套件开普勒(v3.3).现在我从更新Java 1.7.0_40开始出现错误.

I have springtool suite kepler (v3.3) running on ubuntu 12.04 and java 7. Now I have an error since update java 1.7.0_40.

The stack size specified is too small, Specify at least 228k
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

sts.ini

-vm
/usr/lib/jvm/java-7-oracle/bin/java
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130521-0416
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms1024m
-Xmx2048m
-XX:PermSize=1024m
-XX:MaxPermSize=2048m
-XX:+UseParallelGC

我还使用vmwarevfabric服务器2.9(包含在sts中)

Also I use vmwarevfabric server 2.9 (incluided in sts)

有人可以帮助我吗?

推荐答案

假设是Eclipse/STS给出了错误,请尝试放入

Assuming it's Eclipse/STS giving the error, try putting

-Xss4m

到文件末尾(或至少在 -vmargs 之后).

to the end of the file (or at least after -vmargs).

有关更多信息,请参见如何增加Java堆栈大小?

这篇关于Java 7的Eclipse错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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