Well, it sounds a little unclear but did Java install properly in the first place? Could you run java and javac from any directory?
The .bin file from the official Sun website for Linux is just an extractor, once it is done you will have to move the extraced files where you want, and set the JAVA_HOME variable to point to the bin folder. My .bashrc has the following lines to achieve this:
Code:
export JAVA_HOME=/usr/share/java/jdk
export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$JAVA_HOME/bin
You might also want to set a JRE_HOME variable.
That should at least get Java set up properly, and maybe the other installers will work fine after that.