View Full Version : JAVA DB on Ubuntu

December 2nd, 2009, 08:52 AM

I plan to write a small application. Now, Need help with the DB stuff. I plan to use JavaDB for the backend. Please tell me. Provide me with some links tutorials as to how do I find out if JavaDB is installed.

I have OpenJDK installed that got installed as part of some other installation.

Please help.

December 2nd, 2009, 09:21 AM
...javadb is in the repo, check your software source and update.

December 3rd, 2009, 10:30 PM
How to install Java DB:

sudo apt-get install sun-javadb-client sun-javadb-core

How to enable Java DB:
Add the bin directory for Java DB to your PATH environment variable, and set a new DERBY_HOME environment variable.
Add these lines to the end of the .bashrc file in your home directory:

export PATH=$PATH:/usr/share/javadb/bin/
export DERBY_HOME=/usr/share/javadb
How to use Java DB: