debian – 安装了Oracle Java,但在安装软件时,我得到了`你的Java版本不受支持.

我想在我的debian jessie机器上安装以下software

root@www:~$sudo update-alternatives --config java
[sudo] password for root:
There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                           Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-7-oracle/jre/bin/java         1082      auto mo                                       de
  1            /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java   1071      manual                                        mode
  2            /usr/lib/jvm/java-7-oracle/jre/bin/java         1082      manual                                        mode
  3            /usr/lib/jvm/java-8-oracle/jre/bin/java         1081      manual                                        mode

Press enter to keep the current choice[*], or type selection number: 0

当我想安装软件时,我得到:

> sudo ./install.sh
Your version of Java is not supported.
Please update your Java to version 1.8 or newer to be able to use the software on your computer.

有什么建议为什么我找不到合适的java版本?

最佳答案
您正在安装的软件正在寻找Java 1.8,也称为Java 8.您需要在备选配置中选择3.

转载注明原文:debian – 安装了Oracle Java,但在安装软件时,我得到了`你的Java版本不受支持. - 代码日志