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:
# Sets Java_home for apps that need the jre
# Sets JSDK_HOME for apps that need use of the sdk
# Add the java binaries to all users paths
and #chmod 755 /etc/profile.d/java.sh
It will then install fine just executing the bin file