[Slackbuilds-users] dbeaver-ce not finding jre
Dave Woodfall
dave at slackbuilds.org
Fri Jun 19 18:48:07 UTC 2020
On 19/06/20 11:11,
Rich Shepard <rshepard at appl-ecosys.com> put forth the proposition:
> On Fri, 19 Jun 2020, B Watson wrote:
>
> > The 1st location, /opt/dbeaver-ce/jre/bin/java, would be for a
> > 'standalone' package of dbeaver-ce that includes its own private JRE,
> > which the SBo package doesn't do.
>
> B.
>
> Yet that's apparently where it went looking for the JRE.
>
> > The 2nd location it searched was "java in your current PATH", which should
> > have worked. You can test for it by just typing "java" at the shell
> > prompt. If you get "command not found", then your PATH is incorrect. If
> > you get the usage message for java (showing its command line options),
> > your PATH is OK.
>
> 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?
The path you are exporting yourself seems wrong to me. That's what
the file in /etc/profile.d does and why you need to logout and in
again to have the correct environment set up for it.
This is what is I have set by installing the java package with no
intervention:
$ env | grep -i java
JAVA_HOME=/usr/lib64/java
Please try not to outguess the package and set things yourself like
that.
--
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/9cd6f51f/attachment.asc>
More information about the SlackBuilds-users
mailing list