Carrot root and DNA VCRU Bioinformatics USDA ARS Vegetable Crops Research Unit

This page was last updated on Tuesday, 08-Nov-2016 20:43:08 CST

Installation notes for Java

Sun/Oracle Java 7 JRE Installation

  1. From http://askubuntu.com/questions/183867/how-do-i-update-oracle-java-7-jdk-and-jre
  2. $ sudo add-apt-repository ppa:webupd8team/java
  3. $ sudo apt-get update
  4. $ sudo apt-get install oracle-java7-installer
  5. $ sudo update-java-alternatives -s java-7-oracle
  6. Also
    $ sudo update-alternatives --config javaws

Sun/Oracle Java 8 JRE Installation

  1. From http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/
  2. $ sudo add-apt-repository ppa:webupd8team/java
  3. $ sudo apt-get update
  4. $ sudo apt-get install oracle-java8-installer

    #####Important########
    To set Oracle JDK8 as default, install the "oracle-java8-set-default" package.
    E.g.: sudo apt install oracle-java8-set-default.
  5. $ sudo update-java-alternatives -s java-8-oracle
  6. Also
    $ sudo update-alternatives --config javaws