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.
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)
The -vm argument in your STS.ini file has to be the first one in that file. Eclipse doesn't allow this argument to be placed anywhere else in that file. I hope that helps.
Resolved for me. The problem is the 32 and 64bit versions.
I accidentally downloaded a 32bit version of the JDK 1.8 and a 64bit version of Spring Tools Suite 4
And for worse, I copied and pasted the environment variable JAVA_HOME without pay attention, pointing to C:\Program Files (x86)... :)
Then, I uninstall de JDK 32 bit and later installed the 64bit version.
create/set an environment variable and path like following:
variable name: JAVA_HOME variable value: C:\Program Files\Java\jdk1.8.0_261 and finally, in Path, set %JAVA_HOME%\bin
My apologies for my horrible english
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With