derby version db-derby-10.2.1.6-bin
 
For UNIX the default scripts need DERBY_HOME to be set.
==================================================
bash-2.05# ./ij
Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable
to the location of your Derby installation.
bash-2.05# export DERBY_HOME=/home/test/derby
bash-2.05# ./ij
DERBY_HOME is set to /home/test/derby
ij version 10.2
ij>
==================================================
This is automatically determined in Windows bats by relating path to the current dir, but for some unknown reason for the Solaris scripts, the DERBY_HOME is additionally checked as the first step.
 
Removing this check the derby home is properly set from the derby_common.sh called in the next step.
 
if [ -z "$DERBY_HOME" ]; then
  echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable"
  echo "to the location of your Derby installation."
  exit 1
fi
 
--regards
Hemant