E: Package 'oracle-java8-installer' has no installation candidate

后端 未结 4 2058
执笔经年
执笔经年 2021-01-31 08:41

I tried to install java8 using the following commands:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-install         


        
4条回答
  •  盖世英雄少女心
    2021-01-31 09:21

    Please read the details when we execute the below command: sudo add-apt-repository ppa:webupd8team/java

    The Oracle JDK License has changed for releases starting April 16, 2019.

    The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here: https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html

    Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE 8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle).

    For this reason, THIS PPA IS DISCONTINUED (unless I find some way around this limitation).

提交回复
热议问题