Skip to content

Instantly share code, notes, and snippets.

@gavvvr
Last active November 28, 2018 13:14
Show Gist options
  • Save gavvvr/9b52d62b6f4ed44db509f51f2f110bc5 to your computer and use it in GitHub Desktop.
Save gavvvr/9b52d62b6f4ed44db509f51f2f110bc5 to your computer and use it in GitHub Desktop.
Make AnypointStudio work with OpenJDK installed with SDKMAN! on OSX

If you prefer using SDKMAN! for having Java installed on your Mac and recieve the following message:

you need to install the legacy Java SE 6 runtime

You should open /Applications/AnypointStudio.app/Contents/Eclipse/AnypointStudio.ini and explicitly add path to your JVM using -vm option, i.e.:

-vm
/Users/user/.sdkman/candidates/java/8.0.181-zulu/bin/java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment