<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">I guessing that maybe there was another java rpm installed when you installed the RHEL system.&nbsp; RHEL and Centos SHOULD be the same with the exception of the names.<br><div>&nbsp;</div><span style="font-family: courier;">--- </span><br style="font-family: courier;"><span style="font-family: courier;">Wayne Johnson,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;             | <span style="color: rgb(191, 95, 0);">There are two kinds of people: Those</span> </span><br style="font-family: courier;"><span style="font-family: courier;">3943 Penn Ave. N.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <span style="color: rgb(191, 95, 0);">who say to God, "Thy will be done," </span></span><br style="font-family: courier;"><span style="font-family: courier;">Minneapolis, MN
 55412-1908 | <span style="color: rgb(191, 95, 0);">and those to whom God says, "All right, </span></span><br style="font-family: courier;"><span style="font-family: courier;">(612) 522-7003&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;             | <span style="color: rgb(191, 95, 0);">then,  have it your way." --C.S. Lewis</span><br></span><div><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Sean Waite &lt;swaite@sbn-services.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> TCLUG Mailing List &lt;tclug-list@mn-linux.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, September 14, 2010 2:47:23 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [tclug-list] Sun java on Redhat
 5.5<br></font><br>
<font face="arial">When I installed Sun's java 1.6 in CentOS, I merely made /usr/java folder, downloaded the file and extracted. Then added:<br><br><div># JAVA</div><div>JAVA_HOME="/usr/java/jre1.6.0_21/bin"</div><div>export JAVA_HOME</div><div>export JAVA_PATH="$JAVA_HOME"</div><div>export PATH="$PATH:$JAVA_HOME"</div><div id="EmailSignature"><br>to /etc/profile, and then "java -version" correctly displayed my version, and the app that requires java 1.6 ran just fine.<br><br>However I am unfamiliar with Red Hat enterprise. I repeated the same steps as I did for CentOS (which had no java version installed anyways). Also, doing "whereis java" shows /usr/share/java" as the path. This version being 1.4.2 we are told is not compatible, so that is why I need to get 1.6 (Sun's version) installed.&nbsp;<br><br>What exactly am I missing here? I always thought that if I put the path to "/etc/profile" that this would be&nbsp;sufficient. Redhat does have a config
 file in "/etc/java/java.conf" that I can edit, but do not know if I should touch this or not.&nbsp;</div><div id="EmailSignature"><br>Please help a very dim nub out here.<br><br><br>Sean<br></div></font>
</div></div>
</div><br>

      </body></html>