Skip to content

Instantly share code, notes, and snippets.

@phpmaps
Created March 29, 2013 16:13
Show Gist options
  • Save phpmaps/5271821 to your computer and use it in GitHub Desktop.
Save phpmaps/5271821 to your computer and use it in GitHub Desktop.
Set JDK on Linux
#Verify presence of an installed jdk on Redhat
cd /usr/java/jdk1.6.0_xxx
#As root, install java system wide on Redhat using alternatives
cd /usr/sbin
alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_43/bin/java 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment