+++++++++++++++++++++++++
BEGIN TARBALL INSTALL METHOD
+++++++++++++++++++++++++ 
I need to add this for those without an rpm java install that is conflicting with another java program or you simply want to get rid of one. 
To remove a tarball installed java package (tar.gz and tar.bz2). 
First find them all: 
which -b java 
then remove the directory of the old java tarball path. 
rm -fr /usr/local/java/j2sdk1.1.8 
Make sure you have appropriate access privileges, but that part should go without saying. So it will be said, nevermore. (What a coincidence, I had just finished reading an edgar allen poe book!) 
mkdir /usr/local/java 
cd /usr/local/java 
Let us assume that you downloaded your java package to the "/temp" directory. 
ls /temp 
should produce an output like: 
j2re1.4.1.tar.gz 
unpack the archive from your current directory; /usr/local/java: 
tar -xzvpf /temp/j2re1.4.1.tar.gz 
Java is now installed and now only needs to be configured to be "seen" by the rest of the system. 
like in /etc/profile and ~/.bash_profile: 
export JAVA_HOME="/usr/local/java/j2re1.4.1_01/" 
Finished.  
 
  
++++++++++++++++++++++
END TARBALL INSTALL METHOD
++++++++++++++++++++++