Created
February 12, 2013 16:15
-
-
Save rvenugopal/4771004 to your computer and use it in GitHub Desktop.
Revisions
-
rvenugopal created this gist
Feb 12, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ # You can also follow the procedure at https://gist.github.com/tankchintan/1335220 # You can update to OpenJDK 1.7 with AMI 2012.09. See release notes http://aws.amazon.com/amazon-linux-ami/2012.09-release-notes/ #First install OpenJDK 1.7 sudo yum install java-1.7.0-openjdk # Check that 1.7 is installed and choose it >sudo /usr/sbin/alternatives --config java #- Choose option for jre-1.7(For me it was option 2) 2 #Verify that current vesion is 1.7 java -version