本文转自:http://www.kklinux.com/html/fuwuqixiangguan/DNSfuw uqi/200907/14-5865.html
今天安装Zend Studio for eclipse 6.0的时候,非常让人郁闷的一件事情发生了。以前这个软件还好好的,结果今天却不知什么原因莫名其妙的出问题了。问题如下:
JVM terminated. Exit code=-1
-Xms128M
-Xmx512M
-XX:MaxPermSize=256m
-Djava.class.path=C:\Program Files\Zend\Zend Studio for Eclipse - 6.0.1\\plugins\or.zend.php.startup_1.0.0.jar
-os win32
-ws win32
-arch x86
-showsplash
-launcher C:\Program Files\Zend\Zend Studio for Eclipse -6.0.1\ZendStudio.exe
-name ZendStudio
--launcher.library C:\Program Files\Zend\Zend Studio for Eclipse 6.0.1\plugins\org.eclipse.equionox.laucher.win32.w in32.x86_1 .0.3.R33x_v20080118\eclipse_1023.dll
-startup C:\Program Files\Zend\Zend Studio for Eclipse 6.0.1\\plugins\org.zendphp.startup_1.0.0jar
-vm C:\Program Files\Zend\Zend Studio for Eclipse 6.0.1\jre\bin\client\jvm.dll
-vmargs
-Xms128M
-Xmx512M
-XX:MaxPermSize=256m
-Djava.class.path=C:\Program Files\Zend\Zend Studio for Eclipse 6.0.1\\plugins\org.zendphp.startup_1.0.0.jar
最新在一网址找到了解决方法:解决方法很简单,仅仅是删除一个回车,真让人汗一把!
废话不多说把解决方法贴出来:
check ZendStudio.ini
i still do not understand why my ZS rise this error...
but for me helps the next noob actions:
at the begging i have the next file:
--launcher.XXMaxPermSize512m-startupplugins\org.ze nd.php.startup_1.0.0.jar-vmargs-Xms128M-Xmx512M
and after i change it in the fallowing way:
--launcher.XXMaxPermSize 512m ← 注意这里和上面的区别,大家就知道了吧把512m拉上来了,就OK了-startupplugins\org.zend.php.startup_1.0.0.jar-vma rgs-Xms128M-Xmx512M
ZS continue running as usual.
yes i just join 1st and 2nd line into one