Re: java in Linux question

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

 



M E Fieu [sibu168@xxxxxxxxx] wrote:
> Hi.. I have installed java in the following folder /usr/java/jre1.5.0_06 in linux, may i know
> whether i should create JAVA_HOME variable like windows do ??  If I want to add the following
> entries 
> 
> JAVA_HOME=/usr/java/jre1.5.0_06
> 
> where should I add ??  /etc/profile ?  I added but it doesn't appear in ENV after I relogin 
> 
> 
> Besides, may I know where can i change the entry order of the following ENV parameter?
> 
> PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/java/jre1.5.0_06/bin:/root/bin
> 
Edit ~/.bash_profile and set JAVA_HOME there and export it.  You may
also find your path settings in there.  You should login as a
"regular" user, BTW.

	T.


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

  Powered by Linux