ICode9

精准搜索请尝试: 精确搜索
首页 > 数据库> 文章详细

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

2019-08-14 07:09:57  阅读:14  来源: 互联网

标签:java debian



我想在我的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

专注分享技术,共同学习,共同进步。

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有