On Mon, 2003-02-10 at 10:20, Rob Blomquist wrote: > On Sunday 09 February 2003 01:59 pm, wrnash wrote: > > For mandrake 9.0 you can do the following > > > > After install of the bin you will need to link it to the java bin > > > > ln -s /usr/java/j2re1.4.1_01/bin/java /usr/bin/java > > > > Change j2re1.4.1_01 to what java you have installed. > > You can also just move the files over to the /usr/bin/java directory, > as they are installed in a block, in what ever directory they get > put. Or you can just add the new java directory to your path.
Or you could do it the way it is done by default in 9.0, with the /etc/alternatives system... As root do: update-alternatives --display java you should get something like the following output: java - status is auto. link currently points to /usr/lib/kaffe/bin/java /usr/lib/kaffe/bin/java - priority 30 to add the new java to the alternatives system do (as root): update-alternatives --install /usr/bin/java java /usr/java/j2re1.4.1_01/bin/java 40 The above is one line. Then 'update-alternatives --display java' should give the following output: java - status is auto. link currently points to /usr/java/j2re1.4.1_01/bin/java /usr/lib/kaffe/bin/java - priority 30 /usr/lib/j2re1.4.1_01/bin/java - priority 40 man update-alternative will give you the inside scoop. Hope this helps Regards, John...
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com