edit ~/.bash_profile
find the line beginning PATH =
put this under it:
JAVA_HOME=/usr/java/j2re1.4.0
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin

source .bash_profile in the shell you will run java from.

these instructions may sound familiar from the README that came with the
Sun RPM....

Jack

On Mon, 2003-02-10 at 09:36, Ken Thompson wrote:
> On Sunday 09 February 2003 07:30 pm, Damon Lynch wrote:
> > What happens if you type java -version from the command line?  Or from a
> > KDE run dialogue?
> >
> > Damon
> >
> > On Mon, 2003-02-10 at 15:16, Ken Thompson wrote:
> > > I have java installed and it was working to let me administer my firewall
> > > in KDE 3.0.5 on Mandrake 9.0. I upgraded to KDE3.1 and now it says applet
> > > is loaded but I can see nothing. On another machine running mandrake
> > > 9.1b3 and KDE3.1 I get the same thing. The java version is SUN's JRE-1.4,
> > > anyone know why or what I can change to make it work again?
> > > Ken Thompson
> > > Payette, Idaho
> ================================
> [ken@localhost ken]$ java -version
> bash: java: command not found
> [ken@localhost ken]$ su
> Password:
> [root@localhost ken]# java -version
> bash: java: command not found
> [root@localhost ken]#
> =================================
> Java is in /usr/java/j2re1.4.0..
> SUN binary RPM..
> 
> 
> ______________________________________________________________________
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to