Spring Tool Suite launch error - Java was started but returned exit code=13

java, spring, spring-mvc, spring-tool-suite

Solution

If you clicked the download button on the Spring Tool Suite site it probably downloaded the 32-bit version (as the browser you used is, probably, 32 bit). I haven't found a way to determine which version you downloaded besides the name of the rar file

32 bits version file is named `spring-tool-suite-3.8.4.RELEASE-e4.6.3-win32.zip` and 64 bits is `spring-tool-suite-3.8.4.RELEASE-e4.6.3-win32-x86_64.zip` (notice the `-x86_64` at the end)

So, in order to fix your issue:

Confirm that you are using 64 bit Java

1.1 Start a terminal (`cmd` at Windows) and run `java -version`

Download 64 bits Spring Tool Suite manually from its download all versions page

Unzip

Execute `$UNZIPPED_FOLDER/sts-bundle/sts-3.8.4.RELEASE/STS.exe`

If everything goes ok mark this answer as correct ;)

I ran the same issue as you just an hour ago and that was the way I fixed it. For future downloads select manually which software version you want to download (as default selected will probably be 32 bits)

Problem

I followed these following questions and answers: link1 link2, link3, link4 But still i am not getting solution for my problem. My STS.ini file is: STS.ini, And I got error is:STS launching error. If anyone has solution please respond.

Original source

Related problems