I am trying to install Dbeaver 3.5.6
on Ubuntu 14.04
, but it shows some Java run-time missing error even though I've Java7 installed on my system.
Here's how I tried to install
user@Demo:~/Downloads$ wget http://dbeaver.jkiss.org/files/3.5.6/dbeaver-ce_3.5.6_i386.deb
user@Demo:~/Downloads$ sudo dpkg -i dbeaver-ce_3.5.6_i386.deb
and it throws an error like this
(Reading database ... 170900 files and directories currently installed.)
Preparing to unpack dbeaver-ce_3.5.6_i386.deb ...
Unpacking dbeaver-ce (3.5.6) over (3.5.6) ...
dpkg: dependency problems prevent configuration of dbeaver-ce:
dbeaver-ce depends on openjdk-7-jre-headless | openjdk-8-jre-headless | java-runtime-headless; however:
Package openjdk-7-jre-headless is not installed.
Package openjdk-8-jre-headless is not installed.
Package java-runtime-headless is not installed.
dpkg: error processing package dbeaver-ce (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:
dbeaver-ce
I am sure that the java installed on my system.
user@Demo:~/Downloads$ java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) Server VM (build 24.79-b02, mixed mode)
I think DBeaver
need openjdk
instead of normal oracle_jdk
, isn't ?
How can I fix this problem ?
- Should I install
openjdk
too ? - Can
openjdk
and normaloracle jdk
work simultaneously in one system ? - Is there any alternative tool for DBeaver in Ubuntu. (I mean, which is the best one? ) ?
PS: am new in Ubuntu.
I had this issue and this is what worked for me:
This installs dependencies and then finishes DBeaver.
Full script:
I use DBeaver on Ubuntu 14.04 as well. I never tried to install it as a deb package though--any particular reason you need to do that?
What I did was download the Linux zip archive from here:
http://dbeaver.jkiss.org/download/
Then you can just extract the contents to a folder, and run the dbeaver executable that's inside. It should "just work" with whatever your default JDK is, whether it's OpenJDK or Oracle. You can then create a shortcut/dock icon/whatever to that executable manually.
Hope that helps!
I faced the similar problem.Though openjdk was installed in my system,Some how DBeaver was not able to recongnize by openjdk path.So After installing java-8-oracle I was able to use DBeaver.So try installing latest java version(either oracle or open jdk).Below is the java version present in my system.Installing java-8 solved my problem.
Selection Path Priority Status
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081
1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071
* 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081
There is a PPA to install DBeaver on Ubuntu:
Installation
Java
Attention: Other JDKs, like OpenJDK 7 and 8, didn't work for me!
DBeaver
Start
Yeah, error gone! :)