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
-startup plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834 -showsplash --launcher.GTK_version 2 -vm ~/.sdkman/candidates/java/8u161-oracle/jre/bin -vmargs -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM -Xms64m -Xmx1024m
I tried with many paths as the
vm argument but didn't get it working with anyone. I always get the following error:
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 (
Could you please help me to get Dbeaver working? I don't want to have duplicated installations of Java in my machine.