Quote Originally Posted by nelcab View Post
Hi to All,

I'm started to learn Groovy/Grails and yesterday night I installed the STS IDE to give it a try due to an email I receive from Spring promoting its new 2.5.1 version and its great Groovy/Grails support. I'm been using Netbeans since I begin this learning path a few days ago and I was eager to check on the Spring Tool Suite to see how much better integrated it is.

I have:
Windows 7 Professional (64 bits), but running JRE and JDK in 32 bits to simplify things. I have read the installation instructions pdf and check that I could use the: springsource-tool-suite-2.5.1.RELEASE-e3.6.1-win32-installer.exe installation with this configuration.
After installation went OK I try to open STS and receive the same type of error, a window giving me a message that it "could not create a Java Virtual Machine" and another one explaining the parameters passed.
-------------------------------------------------------------------------------------
My env variables seems to be OK, I even use shortnames on it:
JAVA_HOME=C:\PROGRA~2\Java\jdk1.6.0_22
Path=C:\Java\groovy-1.7.5\bin;C:\PROGRA~2\Java\jdk1.6.0_22\bin;C:\Windows\sy
stem32;C:\Windows;C:\Windows\System32\Wbem;C:\Wind ows\System32\WindowsPowerShell\v1.0

I installed the STS on another directory from "Program Files" (which recommended the Installation Instruction)

STS Directory:
c:\Java\springsource\sts-2.5.1.RELEASE

Java version:
c:\Java>java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

c:\Java>

-------------------------------------------------------------------------------------

I been reading in the forums and I see a lot of people asking for solutions due to this error happens to many persons like me, but none seems to receive an answer.

I still eager to check STS, but I'm worried if I could get even more problems with this IDE . Hope someone could help me out to resolve this issue.

Best regards to all,
This looks good in general, I think. Can you share the screenshot of the error message somewhere else in order to not get it downscaled? It is a bit unreadable...

Another possible issue could be the memory configuration. Sometimes the OS doesn't allow the JVM to allocate the configured amount of heap. Can you try to reduce the memory setting (in the sts.ini file, the 768m value of -Xmx maybe down to 512m or 368m)?

HTH,
Martin