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

前端 未结 17 2179
别跟我提以往
别跟我提以往 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: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.

提交回复
热议问题