Search code examples
javacloud9-ide

Java 8 in Cloud9


Is it possible to install JDK 8 on Cloud9? Java 7 is already installed:

samueller@test:~/workspace $ javac -version
javac 1.7.0_55
samueller@test:~/workspace $ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

Solution

  • I usually prefer webupd8 PPA because they keep Oracle Java as fresh as they can, so I can get the latest Oracle Java without needing take care about version number changes.

    To install Webupd8 PPA, you just need to follow this tutorial, and at end you can do apt-get install oracle-java8-set-default.