Reputation: 3995
I was following this instruction and set my STS environment to use Java 7, instead of Java 8 HTTP Status 500 - Servlet.init() for servlet fitTrackerServlet threw exception
And now when I want to run STS, I get this error message:
and this:
Can I somehow resolve this situation or I must install new STS ?
Upvotes: 0
Views: 1643
Reputation: 6508
The error messages look like you doesn't have specified the JDK to run STS in a way that the Eclipse launcher like it. Here is a detailed explanation of how to specify the JDK to run Eclipse/STS:
https://wiki.eclipse.org/Eclipse.ini
Keep in mind that STS has a STS.ini file instead of an eclipse.ini file, but everything else applies to the STS.ini file, too. And keep in mind that the -vm param has to be the first one in that file, followed by an additional line with the path to the java executable.
Upvotes: 2