anchor.diff:  
   There are 2 choices for the alternative java (providing /usr/bin/java).
   
  +
  +[source,bash]
  +----
   Selection    Path                                            Priority   Status
   ------------------------------------------------------------
   * 0            /usr/lib/jvm/java-7-oracle/jre/bin/java          1062      auto mode
  
positive.code:   2            /usr/lib/jvm/java-7-oracle/jre/bin/java          1062      manual mode
  
  Press enter to keep the current choice[*], or type selection number:
  
  You can now choose the number to use as default. This can also be done for the Java compiler (javac):
  
  sudo update-alternatives --config javac
  
  It is the same selection screen as the previous command and should be used in the same way. This command can be executed for all other commands which have different installations. In Java, this includes but is not limited to: keytool, javadoc and jarsigner.
  Setting the "JAVA_HOME" environment variable
  
negative.code:   2            /usr/lib/jvm/java-7-oracle/jre/bin/java          1062      manual mode
  
  Press enter to keep the current choice[*], or type selection number:
  ----
  
  
  The path of the installation is for each:
  
  