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?
please make sure you download the 64bit version from https://spring.io/tools/sts/all.
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.
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)
The first step is like the is already related above: open the document parameters of configuration "STS" and send the commands below to "openFile":
To check the version of JDK, on your prompt do the command:
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.