我想在我的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.
标签:java,debian
来源: https://codeday.me/bug/20190814/1650688.html