Install
* Download jdk-6u21-solaris-sparc.sh Sun Developer Network.
* Download jdk-6u21-solaris-sparcv9.sh from Sun Developer Network.
* Copy both files to a temp directory on Sparcv9.
* Do chmod:
chmod u+x *.sh
* Unpack jdk-6u21-solaris-sparc.sh:
./jdk-6u21-solaris-sparc.sh
* Unpack jdk-6u21-solaris-sparcv9.sh:
./jdk-6u21-solaris-sparcv9.sh
Set Env Variables
export JAVA_HOME=/home/me/jdk1.6.0_21 export PATH=${JAVA_HOME}/bin/sparcv9:${PATH} export LD_LIBRARY_PATH_64=${LD_LIBRARY_PATH_64}:${JAVA_HOME}/jre/lib/sparcv9/server
* Make sure to export LD_LIBRARY_PATH_64 instead of LD_LIBRARY_PATH. Otherwise, you’ll get
“ld.so.1: fatal: libjvm.so: open failed: No such file or directory” error.