加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Download failed : Oracle JDK 7 is NOT installed

发布时间:2020-12-12 14:16:40 所属栏目:百科 来源:网络整理
导读:as you know oracle bans some countries and ... first add key: sudo add-apt-repository ppa:webupd8team/javasudo apt-get update then use apt-install to install the package: sudo apt-get install oracle-java7-installer after getting error 403,

as you know oracle bans some countries and ... first add key:

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

then use apt-install to install the package:

sudo apt-get install oracle-java7-installer

after getting error 403,use ls:

ls /var/cache/oracle-jdk7-installer/

jar.binfmt  javaws-wrapper.sh  jdk-7u55-linux-x64.tar.gz  wgetrc

copy.tar.gzfilename and search/download it in the web (http://enos.itcollege.ee/~jpoial/download/jdk7/).

then copy downloaded file to cache:

sudo cp ~/Downloads/jdk-7u55-linux-x64.tar.gz /var/cache/oracle-jdk7-installer/

to ensure that you download the correct file,usemd5sum:

md5sum jdk-7u55-linux-x64.tar.gz
9e1fb7936f0e5aaa1e64d36ba640bc1f jdk-7u55-linux-x64.tar.gz

result must match with oracle checksum athttp://www.oracle.com/technetwork/java/javase/downloads/java-se-binaries-checksum-1956892.html

after this if you run the install command,installation will be done correctly using cached file:

sudo apt-get install oracle-java7-installer

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读