How to Install Apache Derby on Ubuntu 19.04 Disco Easy Guide

April 24, 2019 | By the+gnu+linux+evangelist.

Apache Derby Ubuntu 19.04 - Setting Up

  1. 3. Setting Up Derby

    So now Extract Derby
    Directly into the Target:

    sudo tar xvzf $HOME/Downloads/db-derby*.bin.tar.gz -C /opt/

    Then Rename the Folder to Make Easier the next Path Setup:

    sudo mv /opt/db-derby* /opt/db-derby
  2. 4. Setting Up Ownership

    Setting Derby Ownership
    To the root Admin User:

    sudo su -c "chown -R root:root /opt/db-derby"
  3. 5. Setting Up Env Vars

    Setting Derby Environment Variables
    Editing the Bash Config File:

    nano $HOME/.bashrc

    And Appendending:

    /nexport DERBY_HOME=/opt/db-derby/nexport PATH=$PATH:$DERBY_HOME/bin
    

    Ctrl+x to Save &exit; from nano Editor :)
    And finally, to Reload the Bash PATH Env Var simply:

    bash
  4. 6. Installing Java

    How to Install Required Oracle Java JDK on Ubuntu

    Install Oracle JDK for Ubuntu

QuickChic Theme • Powered by WordPress