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

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

    Open "SpringToolSuite4.ini" or sts.ini and make sure you have javaw.exe path in .ini file.

    -vm
    
    D:\Projects\Softwares\JDK\bin\javaw.exe
    

    File should look similar as below.

    -startup
    
    plugins/org.eclipse.equinox.launcher_1.5.400.v20190515-0925.jar
    
    --launcher.library
    
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1000.v20190125-2016
    
    -product
    
    org.springframework.boot.ide.branding.sts4
    
    --launcher.defaultAction
    
    openFile
    
    -vm
    
    D:\Projects\Softwares\JDK\bin\javaw.exe
    
    -vmargs
    
    -Dosgi.requiredJavaVersion=1.8
    
    -Xms256m
    
    -Xmx1024m
    
    -XX:+UseG1GC
    
    -XX:+UseStringDeduplication
    
    --add-modules=ALL-SYSTEM
    

提交回复
热议问题