title: How to upgrade jre selectively on linux mint
body: <p>I have newly started using linux mint (linux at all).</p>
  
  <p>I have installed two jre versions on it. One openjdk and another oracle jdk. Here is how my update-alternatives --config java output says - </p>
  
  <pre><code>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/jvm/jre1.7.0_13/bin/java                2         manual mode
  </code></pre>
  
  <p>I want to upgrade oracle jre listed at #2 above. Is there a way to selectively upgrade that?</p>
  
  <p>Here is what I tried:<br>
  1. I tried finding this jre in package manager but I couldn't find it, may be because I manually installed it.<br>
  2. Did 'apt-get update' and tried to find oracle java in 'apt-cache search' so that I can upgrade from there, but again couldn't find oracle java in search.</p>
  
  <p>The final approach that I am thinking of trying is to download latest version and install it along with 1.7.0_13 and making that choice. However, I want a way to upgrade existing.</p>
  
  <p>Any inputs?</p>