The upgrade scripts and jar command require JDK 1.5 or later. Therefore, set your JAVA_HOME environment variable to point to an installed JDK version 1.5 or later. Additionally, set your PATH environment variable. For example, run the following commands if using Solaris.
JAVA_HOME=/usr/java/j2sdk1.5.0 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH; export PATH |
Confirm the changes made by running which java at the command line. Run java -version to confirm the version number.