Re: Newbie. Java Path in Fedora not found

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

 



El vie, 12-08-2005 a las 11:42 +0100, Clive at Rational escribió:


Try this:

instead of
/etc/profile.d/java.sh
export PATH=$PATH:/usr/java/j2re1.4.2_08/bin

use this:
export PATH=/usr/java/j2re1.4.2_08/bin:$PATH

And the system look first in the SUN java before than de gnu java :)

> Hi,
> 
>    I am running Oxygen XML successfully under Fedora 4
> kernel 2.6.12
> 
>   However, before I run the program I have to issue
> the following command
> 
> export PATH=/usr/java/j2re1.4.2_08/bin:$PATH
> 
>   otherwise I get lots of error messages and OXygen
> does not run.
> 
>    Now I have searched around and found the following
> file and entry
> 
> /etc/profile.d/java.sh
> export PATH=$PATH:/usr/java/j2re1.4.2_08/bin
> 
>   However, this entry does not seem "sufficient" to
> define a path to Java. What do I need to do to the
> java.sh entry so I do not need to run the export
> command every time I want to run Oxygen?
> 
> Thanks 
> 
> Clive
> 

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux