<br><br>
<div><span class="gmail_quote">On 2/19/06, <b class="gmail_sendername">John Pierce</b> &lt;<a href="mailto:john.j35@gmail.com">john.j35@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I usually install java from a bin file downloaded from <a href="http://java.sun.com">java.sun.com</a>, I<br>
unpack and install it in /opt.&nbsp;&nbsp;I then create symbolic link like this:<br>ln -s /opt/jre1.5.0_06 /java<br><br>Then I place the following two lines in /etc/profile<br><br>pathmunge /java/bin<br>JAVA_HOME=&quot;/java&quot;<br>
<br>I then modify the export line and add JAVA_HOME to the end of it.<br><br>&gt;From this point forward whenever I update my java package I only need<br>to recreate the symbolic link named /java and make it point to the new
<br>/opt/jreWHATEVER directory and it work instantly.<br><br>John<br>--<br>Registered Linux User 263680, get counted at<br><a href="http://counter.li.org">http://counter.li.org</a><br><br>--<br>/etc/profile.d/java.sh</blockquote>

<div>&nbsp;</div>
<div>&nbsp;</div>
<div>PATH=$PATH:<font color="#550055">/usr/java/jre1.5.0_01/bin</font></div><font color="#550055"></font></div>
<div><font color="#550055"></font><font color="#550055"></font>&nbsp;</div>
<div>&nbsp;</div>
<div><font color="#550055">Thats all.</font></div>
<div><font color="#550055"></font>&nbsp;</div>
<div><font color="#550055">Regards</font></div>
<div><font color="#550055"></font>&nbsp;</div>
<div><font color="#550055">Ankush</font></div>
<div><br>&nbsp;</div><br>