I have been using the sts 2.2.1 for some time, when suddenly and for no apparent reason I got a jvm terminated Exit code=-1.
Looking around google this seemed to be an issue with eclipse and some versions of JVM, but I do not recall updating the jvm, and none of the suggested fixes helped.
I re-installed the JDK 1.6.0_17, and the STS tools but still had the problem.
java -version reports: 1.6.0_17.
Launching another small application using: javaw -XX:MaxPerSize=256m -Xms40m -Xmx768m -jat testapp.jar ran no problem.
So I looked into the STS.ini, and eventually found that removing these lines ( just after the -showsplash) allowed the STS to launch:
I have two questions:
1) Is it harmful to the STS tool suite to remove these?
2) Is there a better/official fix to this problem?