On Sunday 12 November 2006 21:25, Bill W Climbed A Telegraph Pole and Clicked:
> On Sunday 12 November 2006 18:19, Ben wrote:
> > Sunday 12 November 2006 16:32, Bill W Climbed A Telegraph Pole and
Clicked:
> > > Hi,
> > > I will be updating the java jre on my LM2007 installation to try to fix
> > > some problems with limewire and other java apps.
> > >
> > > I have downloaded the jre1.5.0_09 rpm package and I have no problem
> > > installing it. My question is this....how do I tell the applications
> > > like limewire, azureus and other java apps to use the updated java
> > > program instead of the original?
> > >
> > > Thanks,
> > > Bill W.
> >
> > use your favorite editor to edit ~/.bash_profile
> > you should see a line in there.
> >
> > PATH=$PATH:$HOME/bin:/usr/java/jre1.5.0_06/bin:/usr/sbin:/sbin:/usr/local
> >/b in change the jre1.5.0_06 to 09 and save
> > then in term type export $PATH
> > hope this helps
> > benja22
>
> Thanks benja,
> I did as directed. I basically copy/pasted your suggestion into
> .bash_profile and did the export $PATH .... I got this message back...
> bash: export:
> `/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/jre-1_5_0
>_08/bin:/usr/lib/qt3//bin:/home/bill/bin:/usr/java/jre1.5.0_09/bin:/usr/sbin
>:/sbin:/usr/local/bin:/usr/lib/qt3//bin': not a valid identifier
>
> I did a 'which java' and got this back... /usr/lib/jre-1_5_0_08/bin/java
> Should I use the /usr/lib pointer instead?
>
> Thanks,
> Bill W.
I see two java's listed there.
/usr/lib/jre-1_5_0_08/bin
and
/usr/java/jre1.5.0_09/bin
Not sure which of those is the invalid identifier.
ls -d /usr/java should tell you which java directories are there. Hopefully
09 is one of those. If so pick that directories bin directory. (make sure
the syntax is correct.
My which java points to
/usr/java/jre1.5.0_06/bin/java
my $PATH points to
/usr/java/jre1.5.0_06/bin
As you can see I haven't upgraded my java but I doubt it has changed that
much.
Hope that helps.
benja22
--
Where it is a duty to worship the sun it is pretty sure to be a crime to
examine the laws of heat.
-- Christopher Morley
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________