STS launch error - Java was started but returned e

2020-03-08 08:51发布

So I installed STS a while back now onto my Windows 7 64-bit machine, every time I try run STS I get the attached Java exit code=13 error below.

I don't have have Eclipse installed into my machine, I mention this because every time I have tried to Google this error code threads about the same issue happening on Eclipse come up.

I have also tried checking if Java is installed on my machine which it is.

Does anyone know how to resolve this?

16条回答
别忘想泡老子
2楼-- · 2020-03-08 09:13

please make sure you download the 64bit version from https://spring.io/tools/sts/all.

make sure you download the 64bit version from https://spring.io/tools/sts/all

查看更多
smile是对你的礼貌
3楼-- · 2020-03-08 09:14

You likely installed the default version of STS from the spring.io website which is normally the 32 bit version.

Click to see all versions and download the windows 64 bit version from the next page.

Good luck.

查看更多
虎瘦雄心在
4楼-- · 2020-03-08 09:14

Initial I uninstall another Java SE Development Kit , next I added the follow path in the *SpringToolSuite4.ini in my case: *(depends of your IDE that you´ve installed)

-vm
C:\Program Files\Java\jdk1.8.0_131\bin\java.exe**
查看更多
走好不送
5楼-- · 2020-03-08 09:17

The first step is like the is already related above: open the document parameters of configuration "STS" and send the commands below to "openFile":

-vm
C:\Program Files\Java\jdk-11.0.2\bin\javaw.exe

To check the version of JDK, on your prompt do the command:

java -version

You will find in "build".

If you still having the problem with JDK path not finded, the path to found your JDK on pc is:


my computer -> archives and programs -> java -> jdk -> bin -> javaw

when you reach at this, click and inspect the properties of and copy the route to put on command after -vm.

查看更多
登录 后发表回答