install eclipse on ubuntu 14.04

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

Final Update

JDK

sudo apt-get install openjdk-8-jdk

JRE

sudo apt-get install openjdk-8-jre

Old Update

I found two repository but I do not recommend

  • OpenJDK builds (all archs)
    ppa:openjdk-r/ppa
  • OpenJDK 8 backport for trusty
    ppa:jochenkemnade/openjdk-8

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 https://bugs.launchpad.net/ubuntu/+bug/1297065

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 https://www.eclipse.org/downloads/

unpack and install it

About the Author

admin

Leave a Reply

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