Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code for blog post, 'Updating Ubuntu with the Latest Java JDK': http://wp.me/p1RD28-Wq
# view java-related executables
ls -Al /usr/bin/* | \
grep -e java -e jar -e jexec -e appletviewer -e mozilla-javaplugin.so
# view all the commands which support alternatives
update-alternatives --get-selections
# view all java-related executables which support alternatives
update-alternatives --get-selections | \
grep -e java -e jar -e jexec -e appletviewer -e mozilla-javaplugin.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment