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

Re: JAVA_HOME from /etc/profile



On 2/17/06, Anthony J Placilla <anthony_placilla suth com> 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


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