Created
March 29, 2013 16:13
-
-
Save phpmaps/5271821 to your computer and use it in GitHub Desktop.
Set JDK on Linux
This file contains 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
#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