Wednesday, 10 December 2008

Installing Derby on a Mac

Download the Derby bin distribution from http://db.apache.org/derby/derby_downloads.html

Extract the archive by double clicking on it.

Move the folder to wherever you want the derby installation to be housed.

Open a command shell and edit .profile

(if the .profile does not exist, create one - this will be picked up next time you log in)

set DERBY_HOME and PATH as follows


export DERBY_HOME=/Applications/db-derby-10.4.2.0-bin
export PATH=$PATH:$DERBY_HOME/bin


note, DERBY_HOME points to wherever you moved the DERBY installation

No comments:

Post a Comment