-------- Forwarded Message --------
> From: Q.H. Wang <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] java for root
> Date: Wed, 23 Feb 2005 15:16:41 +0000
> > I have installed jre1.5.0_01 and can use it as a user but not root. To
> > do this I added PATH="$PATH:/usr/local/bin/jre1.5.0_01/bin"
> > in /etc/profile.  Is this correct, what else do I need to do?
> 
> If you've followed the instructions from SUN for JRE installation, there 
> should be no any problem. I installed jre1.4.x and 1.5.x and jdk 1.5.x. All 
> of them worked perfectly.
> 
> For you problem, it might be a path problem, I guess. Are you sure it (java) 
> is in your root path? What do you get if you run "which java" as root?
> 
> Bests,
> 
> Q.H.
> 

Result of "which java" as follows:

which: no java in
(/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)

This doesn't make sense to me as I have installed Java
within /usr/local/bin

If I remember rightly, there is another line required in /etc/profiles
to EXPORT_PATH.  Is this right, to what path if it is already installed
in /usr/local/bin?

Thanks,

JW


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to