How to upgrade jre selectively on linux mint

view story

http://stackoverflow.com – I have newly started using linux mint (linux at all). I have installed two jre versions on it. One openjdk and another oracle jdk. Here is how my update-alternatives --config java output says - There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode 1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode * 2 /usr/lib (HowTos)