problem running eclipse on ubuntu?

后端 未结 11 1878
不思量自难忘°
不思量自难忘° 2020-12-24 12:37

I downloaded eclipse on ubuntu. But when I run it it show following error.

A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available i         


        
11条回答
  •  眼角桃花
    2020-12-24 12:58

    You need to install either the openjdk-7-jre or oracle-java7-jre package.

    sudo apt-get install openjdk-7-jre
    

    Note that openjdk-7-jre is easier to install, because it's available via the standard Ubuntu repository, whereas you have to build oracle-java7-jre yourself using java-package.

提交回复
热议问题