Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)
like image 595
at. Avatar asked Sep 26 '14 01:09

at.


2 Answers

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.

like image 95
Gabor Garami Avatar answered Oct 06 '22 12:10

Gabor Garami


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.

like image 44
basdw Avatar answered Oct 06 '22 10:10

basdw