今天啟動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.win32.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.XXMaxPermSize
512m
-startup
plugins/org.zend.php.startup_1.0.0.jar
-vmargs
-Xms128M
-Xmx512M
and after i change it in the fallowing way:
--launcher.XXMaxPermSize 512m ← 注意這裡和上面的區別,大家就知道了吧把512m拉上來了,就OK了
-startup
plugins/org.zend.php.startup_1.0.0.jar
-vmargs
-Xms128M
-Xmx512M
ZS continue running as usual.
yes i just join 1st and 2nd line into one