Error while installing DBeaver On Ubuntu 14.04

13,754

Solution 1

I had this issue and this is what worked for me:

sudo apt-get -f install

This installs dependencies and then finishes DBeaver.

Full script:

wget http://dbeaver.jkiss.org/files/dbeaver-ce_latest_amd64.deb
sudo dpkg -i dbeaver-ce_latest_amd64.deb
rm dbeaver-ce_latest_amd64.deb
sudo apt-get -f install

Solution 2

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!

Share:
13,754

Related videos on Youtube

theapache64
Author by

theapache64

Updated on September 18, 2022

Comments

  • theapache64
    theapache64 over 1 year

    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

    1. user@Demo:~/Downloads$ wget http://dbeaver.jkiss.org/files/3.5.6/dbeaver-ce_3.5.6_i386.deb

    2. 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 ?

    1. Should I install openjdk too ?
    2. Can openjdk and normal oracle jdk work simultaneously in one system ?
    3. Is there any alternative tool for DBeaver in Ubuntu. (I mean, which is the best one? ) ?

    PS: am new in Ubuntu.