On Thursday 08 September 2005 13:25, Tim Pizey wrote:
lack (perhaps) of mechanisms for updating /etc/alternatives,
Try these: #!/bin/sh # Switch to Java 1.4 by changing symlinks in /etc/alternatives echo 1 | update-alternatives --config java echo 1 | update-alternatives --config javac echo 1 | update-alternatives --config java_sdk_sun echo 1 | update-alternatives --config jre_sun #!/bin/sh # Switch to Java 1.5 by changing symlinks in /etc/alternatives echo 2 | update-alternatives --config java echo 2 | update-alternatives --config javac echo 2 | update-alternatives --config java_sdk_sun echo 2 | update-alternatives --config jre_sun -- ============================================================= Glenn Holmer (Linux registered user #16682) ------------------------------------------------------------- "After the vintage season came the aftermath -- and Cenbe." ------------------------------------------------------------- "Vintage Season", Henry Kuttner/C.L. Moore, 1946 =============================================================