Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gavvvr/992a1fec970f55282d582596ca015ac3 to your computer and use it in GitHub Desktop.
Save gavvvr/992a1fec970f55282d582596ca015ac3 to your computer and use it in GitHub Desktop.
Eclipse-based apps on OSX without Oracle Java

It is hard to make Eclipse-based apps to work on Max OS X if you do not have Oracle Java installed. Usually you get an error like this:

To open X you need to install the legacy java se 6 runtime

Liberica JDK fixes running Eclipse-based apps on Mac OS. So, you can install tools like DBeaver or SpringToolsSuite from command line without need to modify eclipse.ini or any other files.

Here is an example

brew tap bell-sw/liberica
brew cask install liberica-jdk12

brew cask install dbeaver-community

The app is ready to use.

Note: DMG or pkg installation of Liberica JDK is required, that's why I used brew in the example. Eclipse-based apps won't work if you install Liberica using SDKMAN!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment