Environment Vars?
jack wallen
jlwallen at monkeypantz.net
Thu Mar 30 00:16:30 UTC 2006
very pretty! i couldn't pull that off anyway. you certainly could though.
i am bidding on this:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=9303954445&rd=1&sspagename=STRK%3AMEWA%3AIT&rd=1
only reason - i have it for .99 cents.
Ali Helmy wrote:
> On 28/03/06, *Craig White* <craigwhite at azapple.com
> <mailto:craigwhite at azapple.com>> wrote:
>
> . /etc/profile.d/java.sh
>
> ^ note space
>
> Craig
>
> On Tue, 2006-03-28 at 22:08 +0200, Ali Helmy wrote:
> > So i su-ed to root and created /etc/profile.d/java.sh
> > I copied+pasted the items you sent me into /etc/profile.d/java.sh
> > then i ./java.sh
> > but when i echo $JAVA_HOME
> > i get a blank line for the output!
> >
> > so what am i doing wrong?
> >
> > On 28/03/06, Craig White < craigwhite at azapple.com
> <mailto:craigwhite at azapple.com>> wrote:
> > On Tue, 2006-03-28 at 13:30 -0500, Gene Heskett wrote:
> > > On Monday 27 March 2006 13:46, Craig White wrote:
> > > >On Mon, 2006-03-27 at 20:08 +0200, Ali Helmy wrote:
> > > >> Hey mates,
> > > >>
> > > >> In an installation of one program (Apache Tomcat) it
> > instructed me
> > > >> to: Set an environment variable named JAVA_HOME to the
> > pathname of
> > > >> the directory into which you installed the JRE...
> > > >>
> > > >> So how does one set an environment variable? Assuming I
> > got java
> > > >> installed at /usr/java/
> > > >
> > > >----
> > > >this ***may*** be useful to you
> > > >
> > > ># cat /etc/profile.d/java.sh
> > > >JREHOME="/usr/java/jre1.5.0_06/lib/i386"
> > > >JAVA_HOME="/usr/java/jre1.5.0_06"
> > > >JAVAWSHOME="/usr/java/jre1.5.0_06/javaws"
> > > >LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JREHOME:$JAVAWSHOME"
> > > >PATH="$PATH:/usr/java/jre1.5.0_06/bin"
> > > >export JAVA_HOME
> > > >
> > > >Adjust as needed
> > > >
> > > >Craig
> > >
> > > Thanks Craig, although I expect this will enlarge the
> > already lengthy
> > > list of stuff that needs massaging when a new java jre is
> > installed.
> > ----
> > it all depends upon what your needs are. I'm giving the larger
> > picture
> > view here but I can appreciate that some are incapable of
> > seeing the
> > larger picture.
> >
> > you only need to implement that which you need - much as I've
> > done there
> > by only exporting the JAVA_HOME and not the other
> > environmental
> > variables.
> >
> > Thus, the path is likely to be important and in his case, he
> > needed the
> > environmental variable JAVA_HOME so it is exported
> >
> > Craig
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com <mailto:fedora-list at redhat.com>
> > To unsubscribe:
> > https://www.redhat.com/mailman/listinfo/fedora-list
> >
> >
> >
> > --
> > A. Helmy
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com <mailto:fedora-list at redhat.com>
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
> --
> fedora-list mailing list
> fedora-list at redhat.com <mailto:fedora-list at redhat.com>
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
> Emm, what?
>
> --
> A. Helmy
>
--
\||/ jack wallen, jr || life's too short for pants
00 soon to be head artist || so get your skirt on @
> no really, an artist of heads - || www.monkeypantz.net
_ okay, okay...cosmetologist. ||
More information about the fedora-list
mailing list