Newbie. Java Path in Fedora not found
John Pierce
john.j35 at gmail.com
Sat Aug 13 16:20:45 UTC 2005
> > 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
More information about the fedora-list
mailing list