Re: Newbie. Java Path in Fedora not found

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

 



On Fri, Aug 12, 2005 at 11:42:54AM +0100, Clive at Rational wrote:
> 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
Just put a command to extend the path in your .bash_profile. This line
is backwards in a sense:
export PATH=$PATH:/usr/java/j2re1.4.2_08/bin

You want the line:
export PATH=/usr/java/j2re1.4.2_08/bin:$PATH

-- 

=======================================================================
You are here:   
		***
		***
	     *********
	      *******
	       *****
		***
		 *

		 But you're not all there.
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484


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

  Powered by Linux