ubuntu 14.04 中的 Eclipse

Eclipse in ubuntu 14.04

我是 Ubuntu 的新人。首先,我已经从 Ubuntu software center 安装了 Eclipse 3.8,但我不想要这个版本的 eclipse。当我删除它并尝试从 official Eclipse website 安装 Eclipse oxygen 时,我遇到了以下错误:

Version 1.7.0_131 of the JVM is not suitable for this product.
Version: 1.8 or greater is required.

我在网上看了如何修复它,但似乎无法自行修复。

  1. 通过 ppa 安装最新的 java 8:Guide how to install Java 8 JDK/JRE
  2. 从 eclipse 官方网站下载 eclipse 安装程序。通过 sudo chmod 775 ~/Downloads/eclipse installer name 授予权限,然后通过 ./.eclipse name you specified above 启动脚本。如果一切正确,将启动 gui 安装程序。