install eclipse on ubuntu 14.04

before install, you should update your JRE and JDK to 8:

Final Update


sudo apt-get install openjdk-8-jdk


sudo apt-get install openjdk-8-jre

Old Update

I found two repository but I do not recommend

  • OpenJDK builds (all archs)
  • OpenJDK 8 backport for trusty

Original Message

If you really want to use OpenJDK, you have to compile from source. There is not still any PPA for OpenJDK.

It has been requested at

I recommend you to use Webup8 Oracle Java8 Installer

sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer

To automatically set up the Java 8 environment variables

sudo apt-get install oracle-java8-set-default

Check it

java -version

So you have to wait to use OpenJDK8


Then download eclipse from

unpack and install it

About the Author


Leave a Reply

Your email address will not be published. Required fields are marked *