[Slackbuilds-users] dbeaver-ce not finding jre

Dave Woodfall dave at slackbuilds.org
Fri Jun 19 21:13:23 UTC 2020


On 19/06/20 13:53,
Rich Shepard <rshepard at appl-ecosys.com> put forth the proposition:
> On Fri, 19 Jun 2020, Erich Ritz via SlackBuilds-users wrote:
>
> > The file in /etc/profile.d/ for adoptopenjdk-openj9 is
> > adoptopenjdk-openj9.sh:
>
> Erich,
>
> Oh. Here it has
> #!/bin/sh
> export JAVA_HOME=/usr/local/lib64/jdk-14.0.1+7
> export MANPATH="${MANPATH}:${JAVA_HOME}/man"
> export PATH="${PATH}:${JAVA_HOME}/bin"
>
> I thought all SBo packages installed in /usr/ not /usr/local/.
>
> Here,
> $ ls /usr/local/lib64/
> perl5/
>
>
> > It was asked before, but you haven't answered yet (must have got lost in
> > the noise): can you call java from the command prompt? Try: $ which java
>
> Actually I did answer:
>
> $ which java which: no java in
> (/home/rshepard/bin:/usr/local/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/lib64/jdk-14.0.1+7/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/lib64/qt5/bin:/usr/share/texmf/bin:.)
>
> > But I have alienBob's openjdk installed.
>
> Okay. I'll try that.
>
> Thanks,
>
> Rich

This is all getting a bit complicated.  Your thread title has the
error "dbeaver-ce not finding jre" In fact dbeaver-ce requires `jdk',
not `jre'.

There is a difference.

I don't know what jdk packages you have installed now.  There are
many versions of jdk, openjdk, adoptopenjdk, zulu-openjdk.  The whole
thing is a mess.

I think the best thing for all of us is:

Uninstall ALL variations you have installed
Stick to what's in the REQUIRES line in the .info, which is `jdk'.

Follow what we have said about NOT setting variables yourself,
reboot, then continue with dbeaver-ce.

--
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200619/ab317e93/attachment.asc>


More information about the SlackBuilds-users mailing list