Reputation: 3984
After importing spring-boot 1.x project into my workspace I got -
So I has looked for my STS.ini to set it to use JDK 8, but I could not find it. Running win 10 with 64 bit.
BTW - is there another way to solve this?
Upvotes: 0
Views: 246
Reputation: 6508
I am not aware of any other way to solve this than to configure your STS.ini file to point to a JDK 1.8 to run STS on. You can grab the latest JDK 1.8 64bit for Windows from various download pages (e.g. the official Oracle one), install that, and configure your STS.ini file to use that JDK.
You can still use a newer JDK level in your projects though. Running STS itself on a JDK 1.8 doesn't mean you can't use JDK 9 or 10 in your projects. That should work independently of the JDK that you use to run the IDE itself (just in case that matters in your case).
Upvotes: 1