Re: JAVA_HOME from /etc/profile

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

 



On 2/17/06, Anthony J Placilla <anthony_placilla@xxxxxxxx> wrote:
..
> > Lines 44-48 of /etc/profile execute scripts found in /etc/profile.d/.
> > Put a shell script in /etc/profile.d/ to set your environment variable
> > or path to whatever you want.
>
>
> for example:
>
> [tony@crudpuppy]$cat /etc/profile.d/java.sh
>
> export JDK_HOME=/usr/java/jre1.5.0_01
> export PATH=$PATH:$JDK_HOME/bin
> export JRE_HOME=/usr/java/jre1.5.0_01
> export PATH=$PATH:$JRE_HOME/bin
>
> modify as needed for your environment
>
> make sure to chmod it 755
..

May I ask if you use jpackage?  I note that you have java set up for
/usr/java/ from which I infer that you don't use jpackage.

Just curious how others manage this stuff :)


-Thufir


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

  Powered by Linux