Re: Newbie. Java Path in Fedora not found

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

 



> > export PATH=$PATH:/usr/java/j2re1.4.2_08/bin
> >
> > You want the line:
> > export PATH=/usr/java/j2re1.4.2_08/bin:$PATH
> >
I would create a sym link in / that points to
/usr/java/WHATEVERVERSION like this:

ln -s /usr/java/j2re1.4.2_08 /java

Then I would export the path

/java/bin as noted above.

Now whenever the java version changed rather than editing the profile
just relink the sym link in / to point to the new installation
directory in /usr and you are off.

I have been doing this for about 4 years.

John


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

  Powered by Linux