My Java version was updated to 1.8.202 and now my STS4 will not start. Below is the screenshot of the error. How do I change the Java version? I have tried to add -vm it gives error code 1. I see a weird Java path but I don't see where its being set since the is no STS.ini file but there is a SpringToolSuite4.ini which doesn't contain it
The SpringTools4.ini file is the right place to define the JVM of your choice to run the IDE with. It is the same as the STS.ini or the eclipse.ini file, but for STS4.
Take care to define the JVM in the SpringTools4.ini file in the right way, there are special rules in place where and how to define the JVM. For example it has to be the first line in the ini file and the -vm
and the path to the executable need to be in separate lines. More details can be found here:
https://wiki.eclipse.org/Eclipse.ini
Hope this helps!