Reputation: 52540
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)
Upvotes: 5
Views: 3599
Reputation: 486
This post, which I found by Googling "download jdk8 linux 64 ubuntu", answers your question. Use:
$ wget --header "Cookie: oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz
and follow instructions to install it.
Upvotes: 3
Reputation: 1267
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
.
Upvotes: 4