Re: Environment Vars?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-03-27 at 21:11 +0200, Ali Helmy wrote:
> I do ALL THAT to make an environment var?
> 

Add 
export JAVA_HOME="/usr/java/jre1.5.0_06"
to your ~/.bashrc file.

:)
Mayank

> On 27/03/06, Craig White <craigwhite@xxxxxxxxxxx> 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
>         
>         --
>         fedora-list mailing list
>         fedora-list@xxxxxxxxxx
>         To unsubscribe:
>         https://www.redhat.com/mailman/listinfo/fedora-list
> 
> 
> 
> -- 
> A. Helmy 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux