1 2 3 4
export J2SDKDIR=/opt/java export PATH=$PATH:/opt/java/bin:/opt/java/db/bin export JAVA_HOME=/opt/java export DERBY_HOME=/opt/java/db