Reputation: 103397
I am trying to install SpringSourceToolSuite on windows7 32 bit machine and having an issue where springsource tool suite installer .exe file is looking for old jre and not to the new jdk, how can i make installer to point to new jdk instead of old jre?
Here is the error message that am getting:
The Registry refers to non existent Java Runtime Environment installatio or runtime is corrupt. The system cannot find the path specified.
Any suggestions?
Upvotes: 1
Views: 3416
Reputation: 688
I had a similar problem. This error means the entries for the java runtime in your windows registry point to a location that doesn't have java. This could mean a messed up Java installation (perhaps some Java version that wasn't properly uninstalled).
Perhaps this can be solved by re-installing Java (but I'm not 100% sure). Anyway, you can check the following steps to see if the registry is properly configured for a working Java installation.
(CAUTION: You gotta be careful when dealing with the registry and not modify unnecessary stuff)
Hope you find this information useful.
Upvotes: 3
Reputation: 36
If you are still having problems with the install program, make sure you have downloaded the entire file. Some days it may take awhile to complete. Check that the downloaded size is the same as that described, and run the hash program to check that it is intact
eg springsource-tool-suite-2.7.0.RELEASE-e3.7-win32-installer.exe 361MB sha1 - md5
A partial download program may seem to start, but never completes. And it may not display any error message either - as I learned, trying to do do an install too quickly :)
Upvotes: 0
Reputation: 94429
Find your sts.ini file usually in the root directory, try adding this as the first line in the file, make sure it points to your jdk, also sometimes you need to put -vm and the path on different lines.
-vm C:\Program Files\Java\jdk1.6.0_20\bin\javaw.exe
You can also try using the zip installer instead of the .msi installer.
Upvotes: 1