Installing Oracle Sun Java (JDK) and setting JAVA_HOME in Ubuntu (Linux) | playframework | Scoop.it
Installing OpenJDK can be very simple but not Oracle JDK.
While Oracle JDK (earlier Sun JDK) is under the Binary Code License (earlier Sun License), OpenJDK is under GPL with a linking exception.