Download failed : Oracle JDK 7 is NOT installed

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

相关文章

Java Oracle 结果集是Java语言中处理数据库查询结果的一种方...
Java AES和Oracle AES是现代加密技术中最常使用的两种AES加密...
Java是一种广泛应用的编程语言,具备可靠性、安全性、跨平台...
随着移动互联网的发展,抽奖活动成为了营销活动中不可或缺的...
Java和Oracle都是在计算机领域应用非常广泛的技术,他们经常...
Java 是一门非常流行的编程语言,它可以运行于各种操作系统上...