Skip to content
Advertisement

JRE issue with getting Spring Tool Suite installed

I downloaded Spring Toolset 3.6 from here:

JavaScript

Unzipped it, launched sts.exe and got this error:

JavaScript

I have following version of (32 bit) java

JavaScript

I tried adding the following 2 lines to the top of the STS.ini:

JavaScript

and got this error:

JavaScript

Tried adding an Env variable:

JavaScript

…same error

when I opened up the Java Control panel, I saw that the active version, 1.7 pointed to this path:

JavaScript

I also tried adding the following to my PATH variable

C:Program Files (x86)Javajre7bin

…no change,

When I noticed the following line in one of the error messages above:

JavaScript

I tried switching the active version of java (the one checked inh the control panel) to the 1.65 version and I changed all of the above paths to point to reference it.

JavaScript

I’m sure I didn’t try all permutations, but I am obviously gasping at straws.

I also tried downloading the 32 bit JDK because I saw something about maybe needing that.

Is this some sort of a 32/64 bit mix up? The STS zip file was named indicating a 32 bit version, although at work on my laptop I somewhere found a version that had both 32 and 64 in the name of the zip. I only saw one version of the app in the zip file. How can one app be both 32 and 64 bit at the same time?

spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32.zip

This is my first attempt to try anything using Java and I’m frustrated just starting…

Advertisement

Answer

Your STS/Eclipse is x64 bit I think due to this line “-arch x86_64” in your STS startup error. You’d need to specify -vm argument in STS.ini. For example: -vm C:JavaJDK1.6binjavaw.exe

The folder you’ve specified C:WindowsSysWOW64javaw.exe… is it pointing to the right x64 VM? The JDK/JRE folder must have bin, lib and other sub-folders. The javaw.exe that you point to must be in the “bin” folder. I don’t see the “bin” in your VM path. Keep the file structure of the JDK/JRE folder unchanged.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement