Created
December 22, 2010 14:06
-
-
Save jpcaruana/751544 to your computer and use it in GitHub Desktop.
update-alternatives : jdk 1.4 in Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo update-alternatives --verbose --install /usr/bin/java java /opt/j2sdk1.4.2_18/bin/java 500 --slave /usr/share/man/man1/java.1 java.1 /opt/j2sdk1.4.2_18/man/man1/java.1 `for prog in *; do echo --slave /usr/bin/$prog $prog /opt/j2sdk1.4.2_18/bin/$prog; done | grep -v "java " | xargs` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see http://www.barreverte.fr/ubutu-update-alternatives-java14 : blog post in french