so, to kill all the birds with one stone? i type in all that you sent me at the terminal?<br><br>I type:<br><span style="font-family: courier new,monospace;"># cat /etc/profile.d/java.sh</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">JREHOME="/usr/java/jre1.5.0_06</span><div style="direction: ltr;"><span style="font-family: courier new,monospace;">/lib/i386"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">JAVA_HOME="/usr/java/jre1.5.0</span><span style="font-family: courier new,monospace;">_06"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
JAVAWSHOME="/usr/java/jre1.5.0</span><span style="font-family: courier new,monospace;">_06/javaws"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">LD_LIBRARY_PATH="$LD_LIBRARY
</span><span style="font-family: courier new,monospace;">_PATH:$JREHOME:$JAVAWSHOME"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">PATH="$PATH:/usr/java/jre1.5.0
</span><span style="font-family: courier new,monospace;">_06/bin"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">export JAVA_HOME</span><br><br>?<br></div><br>
<br><div><span class="gmail_quote">On 28/03/06, <b class="gmail_sendername">Craig White</b> <<a href="mailto:craigwhite@azapple.com">craigwhite@azapple.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
and then his next question is gonna be...why can't it find java? Because<br>he needs it in his $PATH<br><br>;-)<br><br>I personally liked the idea of killing all of the birds with one stone.<br><br>Craig<br><br>On Tue, 2006-03-28 at 20:20 +0530, मयंक जैन (Mayank Jain) wrote:
<br>> On Mon, 2006-03-27 at 21:11 +0200, Ali Helmy wrote:<br>> > I do ALL THAT to make an environment var?<br>> ><br>><br>> Add<br>> export JAVA_HOME="/usr/java/jre1.5.0_06"<br>> to your ~/.bashrc file.
<br>><br>> :)<br>> Mayank<br>><br>> > On 27/03/06, Craig White <<a href="mailto:craigwhite@azapple.com">craigwhite@azapple.com</a>> wrote:<br>> > On Mon, 2006-03-27 at 20:08 +0200, Ali Helmy wrote:
<br>> > > Hey mates,<br>> > ><br>> > > In an installation of one program (Apache Tomcat) it<br>> > instructed me to:<br>> > > Set an environment variable named JAVA_HOME to the pathname
<br>> > of the<br>> > > directory into which you installed the JRE...<br>> > ><br>> > > So how does one set an environment variable? Assuming I got<br>> > java
<br>> > > installed at /usr/java/<br>> > ----<br>> > this ***may*** be useful to you<br>> ><br>> > # cat /etc/profile.d/java.sh<br>> > JREHOME="/usr/java/jre1.5.0_06/lib/i386"
<br>> > JAVA_HOME="/usr/java/jre1.5.0_06"<br>> > JAVAWSHOME="/usr/java/jre1.5.0_06/javaws"<br>> > LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JREHOME:$JAVAWSHOME"
<br>> > PATH="$PATH:/usr/java/jre1.5.0_06/bin"<br>> > export JAVA_HOME<br>> ><br>> > Adjust as needed<br>> ><br>> > Craig<br>> ><br>> > --
<br>> > fedora-list mailing list<br>> > <a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>> > To unsubscribe:<br>> > <a href="https://www.redhat.com/mailman/listinfo/fedora-list">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br>> ><br>> ><br>> ><br>> > --<br>> > A. Helmy<br>> > --<br>> > fedora-list mailing list<br>> > <a href="mailto:fedora-list@redhat.com">
fedora-list@redhat.com</a><br>> > To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>><br><br>--<br>fedora-list mailing list<br>
<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div>
<br><br clear="all"><br>-- <br>A. Helmy