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!