I'm trying to configure Dbeaver with a custom location of my Java installation as I have it installed via SDKMAN.

To do that, I have added the vm parameter to the dbearver.ini file, so now when Dbeaver launchs, it searchs for my Java installation in that folder. The contents of my dbearver.ini are:


I tried with many paths as the vm argument but didn't get it working with anyone. I always get the following error:

enter image description here

As the error asks for JRE or JDK, I don't know to which executable file should I point.

I have the following installations of Java 8 at the standard location SDKMAN places them (~/.sdkman/candidates/java)

  • 8u161-oracle
  • 8u152-zulu

Could you please help me to get Dbeaver working? I don't want to have duplicated installations of Java in my machine.

  • Perhaps you need to specify the full path (/home/username/.sdkman/) instead of the relative path (~/)?
    – Jos
    Mar 12, 2018 at 13:37
  • @Jos BINGO! Place it as answer and I will select it as the correct one. Thanks!!!
    – Arcones
    Mar 12, 2018 at 14:42

1 Answer 1


For some reason, DBeaver does not use path substitution, i.e. it does not replace ~ by the user's home folder.

Instead, use the full path:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.