<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. RHEL and Centos SHOULD be the same with the exception of the names.<br><div> </div><span style="font-family: courier;">--- </span><br style="font-family: courier;"><span style="font-family: courier;">Wayne Johnson, | <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. | <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 | <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 <swaite@sbn-services.com><br><b><span style="font-weight: bold;">To:</span></b> TCLUG Mailing List <tclug-list@mn-linux.org><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. <br><br>What exactly am I missing here? I always thought that if I put the path to "/etc/profile" that this would be 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. </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>