#!/bin/bash
cd /etc/alternatives
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun jre
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/java java
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/javaws javaws
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/ControlPanel ControlPanel
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/keytool keytool
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/policytool policytool
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/rmid rmid
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/rmiregistry rmiregistry
/bin/ln -sf /usr/lib64/jvm/jre-1.7.0-sun/bin/tnameserv tnameserv
/bin/ln -sf /usr/lib64/jvm-exports/jre-1.7.0-sun jre_sun
/bin/ln -sf /usr/lib64/jvm-exports/jre-1.7.0-sun jre_exports
