[Slackbuilds-users] dbeaver-ce not finding jre

Rich Shepard rshepard at appl-ecosys.com
Fri Jun 19 16:30:15 UTC 2020


I've struggled with this issue and now need fresh eyes to see the solution.

Trying to run dbeaver-ce-7.0.4-x86_64-1_SBo with
OpenJDK14U-jdk_x64_linux_openj9_14.0.1_7_openj9-0.20.0 supplying the java
runtime environment. But, dbeaver-ce doesn't see that and shows this error
when I try to load the program:

"A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Dbeaver. No Java virtual machine
was found after searching the following locations:
/opt/dbeaver-ce/jre/bin/java
java in your current PATH"

But, /opt/dbeaver-ce/ does not have a jre/ subdirectory:
$ ls
configuration/  dbeaver.desktop  dbeaver.png  icon.xpm   p2/       readme.txt
dbeaver*        dbeaver.ini      features/    licenses/  plugins/

Here are all the non-application-specific javas I find:
/usr/lib64/jdk-14.0.1+7/bin/java
/usr/lib64/jvm/bin/java
/usr/lib64/jvm/jre/bin/java
/root/usr/lib64/jdk1.8.0_221/bin/java
/root/usr/lib64/jdk1.8.0_221/jre/bin/java

And,
/usr/lib64/jvm/jre
/root/usr/lib64/jdk1.8.0_221/jre

There is only the one openjdk package installed so I've no idea where the
various versions come from.

What should I do to get dbeaver-ce running?

TIA,

Rich



More information about the SlackBuilds-users mailing list