Peter S
Peter S

Reputation: 351

Can't run Spring Tool Suite on a Mac

I get this when I try and run the Spring Tool Suite on Yosemite:

To open “STS” you need to install the legacy Java SE 6 runtime.

Click “More Info…” to visit the legacy Java SE 6 download website.

The more info brings me to this apparently defunct page: https://support.apple.com/kb/DL1572

Any ideas how to fix?

Upvotes: 0

Views: 3385

Answers (2)

Martin Lippert
Martin Lippert

Reputation: 6508

This message is coming from the installer, right? It requires a JDK 6 to run. STS itself doesn't require JDK 6 to run. You can just use your JDK8 to run STS. Download the latest version of STS as a tar.gz, extract it, and run it. It will pick the JDK8, if installed on your machine. No need to install JDK6 from Apple if you se the tar.gz instead of the dmg and the installer.

Btw: we are not shipping these outdated installers anymore, the latest versions are coming as tar.gz for Mac only.

Upvotes: 2

Ivan X
Ivan X

Reputation: 2195

Page isn't defunct, though for some reason I couldn't get it to load in Safari at all, and it was screwed up using https in Firefox. However, http in Firefox did work:

http://support.apple.com/kb/DL1572

There's your Java 6.

In some cases you can (and should) use Oracle Java 7 or 8 instead, at http://java.com; try that first. It can coexist with Apple Java 6 if you still need to install that.

Upvotes: 0

Related Questions