Installing
-
2. Downloading Derby
Download the Latest Apache Derby Database Release
-
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
-
4. Setting Up Ownership
Setting Derby Ownership
To the root Admin User:sudo su -c "chown -R root:root /opt/db-derby"
-
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
-
6. Installing Java
How to Install Required Oracle Java JDK on Ubuntu
Contents