Do you have the variable $JAVA_HOME set up ??
Its an integral part of installing java but is mentioned nowhere in the suns docs (Have to be a rocket scientist to understand them !)
The SDK also includes the JRE. Into /etc/profile.d/ out a file java.sh into which you need:
Code:
# Sets Java_home for apps that need the jre
export JAVA_HOME=/usr/java/j2sdk1.4.1_02/jre
# Sets JSDK_HOME for apps that need use of the sdk
export JSDK_HOME=/usr/java/j2sdk1.4.1_02
# Add the java binaries to all users paths
export PATH=$PATH:$JAVA_HOME/bin:$JSDK_HOME/bin
and #chmod 755 /etc/profile.d/java.sh
It will then install fine just executing the bin file