Switch to JDK 7 in Amazon Linux

view story

http://stackoverflow.com – I have t1.micro 64-bit instance, where I installed JDK 7 following some instructions (sudo yum install java-1.7.0-openjdk-devel)(sudo yum update etc). So, when I search for it, sudo yum search openjdk I get following- java-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environment java-1.6.0-openjdk-demo.x86_64 : OpenJDK Demos java-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environment java-1.6.0-openjdk-javadoc.x86_64 : OpenJDK API Documentation java-1.6.0-openjdk-src.x86_64 : OpenJDK Source Bundle java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment java-1.7.0-openjdk-demo.x86_64 : Ope (HowTos)