STS launch error - Java was started but returned exit code=13

前端 未结 17 2151
别跟我提以往
别跟我提以往 2021-01-07 19:25

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 E

相关标签:
17条回答
  • 2021-01-07 20:00

    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**
    
    0 讨论(0)
  • 2021-01-07 20:01

    STS mostly ends up with error code 13 if you are using for the first time. Here is a fix to the problem. Please visit this link I found here https://youtu.be/cMClVM6rzuc.

    here is the summary of the solution - The Error while launching STS is mostly because you have downloaded 32 bit STS bundle from spring.io website. you need to check your system architecture and download the appropriate version. You can watch the video for detailed information. I am 100% sure you will find your solution

    0 讨论(0)
  • 2021-01-07 20:02

    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.

    0 讨论(0)
  • 2021-01-07 20:04

    If you dowloaded 64 bits version of STS Spring, check the version of java you have by taping in cmd :

    java -d64 -version 
    

    If you dont have the jre 64 bits, install it and it will work .

    0 讨论(0)
  • 2021-01-07 20:04

    I faced this issue due to my java update. So below is the cause

    1. Or java 64 bit and eclipse 32 bit version
    2. You have java version 32 bit and eclipse 64 bit version
    3. External cause, if you have two version of java installed(32 bit and 64 bit), if one got updated means your path variable pointing to java will change.

    Solution:- Check your java version is 32 bit or 64 bit with command below

     java -d64 -version
    

    If It's 64 bit it will show

    java version "1.8.0_181"
    
    Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
    
    Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
    

    If It's not

    It will show something like this

    Error: This Java instance does not support a 64-bit JVM.
    Please install the desired version.
    

    Based on the java version change your STS, to either 32 bit or 64 bit.

    0 讨论(0)
提交回复
热议问题