我正在尝试安装以下内容软件在我的debian jessie
机器上
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 版本有什么建议吗?
答案1
您正在安装的软件正在寻找 Java 1.8,也称为 Java 8。您需要在替代配置中选择选项 3。