Quote Originally Posted by robin_listas View Post
On 2012-05-17 20:16, suse tpx60s wrote:

> Code:
> --------------------
> suntp001:~/Downloads # update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jre1.7.0_04/bin/java" 1
> Absolute path to 'update-alternatives' is '/usr/sbin/update-alternatives', so running it may require superuser privileges (eg. root).
> --------------------

He, he! You need to use "su -", not "su".

Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 "Celadon" at Telcontar)
Thanks for the reply. The How-To didn't mention that. It said to use "su -p" which I did. Using just "su -" as you suggested does of course work so I guess the How-To needs to be adjusted. I'll PM the OP and mention it.