This is what I actually did and it works. The "only" difference is that I just created a java.sh script in the /etc/profile.d directory so that Java is available everywhere and for all users.
/stefano Patrik Marxer wrote: >Hi, > >just a question: > >Is it right that the bash looks for a command/executable in the order >specified in PATH? > >If the answer to this is yes then you can simply add this to the .bashrc in >your home-dir and leave everthing else alone: >export PATH=/new-java-installation-dir/bin:$PATH > >as opposed to: >export PATH=$PATH:/new-java-installation-dir/bin >(which finds the old java) > >Patrik > > > >------------------------------------------------------------------------ > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com > > T
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
