[Slackbuilds-users] dbeaver-ce not finding jre
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.
> 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
> 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
$ env | grep -i java
Please try not to outguess the package and set things yourself like
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the SlackBuilds-users