[Slackbuilds-users] dbeaver-ce not finding jre

Dave Woodfall dave at slackbuilds.org
Fri Jun 19 19:10:33 UTC 2020


On 19/06/20 11:11,
Rich Shepard <rshepard at appl-ecosys.com> put forth the proposition:
> The path was incorrect. The second location is exported from
> ~/.bash_profile:
> export JAVA_HOME=/usr/lib64/jvm/bin/java
>
> Might the exported name be incorrect?
>
> I also added to ~/.bash_profile this line:
> JAVAPATH=$HOME:/usr/lib64/jvm/bin/java:$PATH

The full contents of /etc/profile.d/openjdk.sh for example:

#!/bin/sh
export JAVA_HOME=/usr/lib64/java
export MANPATH="${MANPATH}:${JAVA_HOME}/man"
export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"

Your setting in ~/.bash_profile is breaking this.

--
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/14348eba/attachment.asc>


More information about the SlackBuilds-users mailing list