批量下载oracle jdk

1.打开

https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html

2.同意条款

3.浏览器F12 Console

粘贴 下面语句得到所有的下载地址

document.querySelectorAll("a[href^=‘https://download.oracle.com/otn/java/jdk/‘]").forEach(e=>console.log(e.href))

4.如果批量下载可以地址保存到一个文件中,就是官网地址中把otn改成otn-pub

jdk-8u231.txt

https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-linux-arm32-vfp-hflt.tar.gz
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-linux-arm64-vfp-hflt.tar.gz
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-linux-i586.tar.gz
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-linux-x64.tar.gz
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-macosx-x64.dmg
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-solaris-sparcv9.tar.Z
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-solaris-sparcv9.tar.gz
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-solaris-x64.tar.Z
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-solaris-x64.tar.gz
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-windows-i586.exe
https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-windows-x64.exe
jdk-11.0.5.txt
https://download.oracle.com/otn-pub/java/jdk/11.0.5+10/e51269e04165492b90fa15af5b4eb1a5/jdk-11.0.5_linux-x64_bin.deb
https://download.oracle.com/otn-pub/java/jdk/11.0.5+10/e51269e04165492b90fa15af5b4eb1a5/jdk-11.0.5_linux-x64_bin.tar.gz
https://download.oracle.com/otn-pub/java/jdk/11.0.5+10/e51269e04165492b90fa15af5b4eb1a5/jdk-11.0.5_osx-x64_bin.dmg
https://download.oracle.com/otn-pub/java/jdk/11.0.5+10/e51269e04165492b90fa15af5b4eb1a5/jdk-11.0.5_osx-x64_bin.tar.gz
https://download.oracle.com/otn-pub/java/jdk/11.0.5+10/e51269e04165492b90fa15af5b4eb1a5/jdk-11.0.5_solaris-sparcv9_bin.tar.gz
https://download.oracle.com/otn-pub/java/jdk/11.0.5+10/e51269e04165492b90fa15af5b4eb1a5/jdk-11.0.5_windows-x64_bin.exe
https://download.oracle.com/otn-pub/java/jdk/11.0.5+10/e51269e04165492b90fa15af5b4eb1a5/jdk-11.0.5_windows-x64_bin.zip

5.下载命令:

wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" -i download.txt

如果单个文件,就换成具体的下载地址

我用的国外的服务器下载挺快的。

原文地址:https://www.cnblogs.com/startnow/p/12077653.html

时间: 2024-10-03 22:55:58

批量下载oracle jdk的相关文章

如何下载oracle jdk|oracle jdk下载慢,要登录等等问题

wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-linux-x64.tar.gz 注意替换 ---------------------

Centos7安装Oracle JDK

查看Linux是否自带的JDK,如有openJDK,则卸载 1 java -version 1 rpm -qa | grep -E '^open[jre|jdk]|j[re|dk]' 卸载openjdk 1 su root 2 3 yum -y remove java java-1.7.0-openjdk 下载oracle jdk 1 wget --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie;&quo

Ubuntu Linux下安装Oracle JDK

Ubuntu Linux下安装Oracle JDK Dennis Hu 2014-4-22 说明:因为非常多系统不支持使用OpenJDK,因此在ubuntu下会须要安装Oracle JDK.而Oracle JDK的安装貌似没有提供apt方式,因此安装Oracle JDK的方式相对麻烦一些,我常常安装,为了方便别人同一时候方便自己查看,把它记下来. 第一步:区分32位还是64位操作系统 先确定你的ubuntu linux是32位还是64位的,方法非常多,这里介绍一种就可以. $uname -a 第

在 Debian 上安装 Oracle JDK 和 Eclipse

测试系统:Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux 一.Oracle JDK 的安装 1.下载 Oracle JDK(或者应该叫 Java SE 吧), 下载页面:_ http://www.oracle.com/technetwork/cn/java/javase/downloads/index.html JDK-8-update-20-x64:_ http://download.oracle.com/otn-pub/java/jdk

Java 8 – CentOs安装Oracle JDK 8

这篇教程我们会演示怎么在CentOS上安装Oracle JDK 8.环境 CentOS 6.8 Oracle JDK 8u102 备注:这个教程,在Fedora和RedHat操作系统上,也是可以运行的. 下载Oracle JDK 安装Oracle JDK8 设置JAVA_HOME环境变量 参考资料 教程

看到个有趣的方法批量下载rtf模板

一般想要批量下载rtf模板我们都是用fndload来实现或者 perl download.pl来实现,今天看到一个比较有趣的方法 Hi, Blob column 'template file data' below is just what you want, open it in PLSQL-DEVELOPER and save it as a rtf file or you can write programs that work with 'BLOB' objects to export

安装Oracle JDK 7.0与8.0 for Mac OS X后Eclipse启动报错的解决之道

启动 Eclipse 时,直接报错The JVM shared library "/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib"does not contain the JNI_CreateJavaVM symbol. Unable to find any JVMs matching architecture "i386&qu

下载安装JDK,并且配置java环境变量

如果想使用java语言编写程序,就必须搭建一个java开发环境,需要安装jdk,然后配置环境变量. 一:下载jdk,现在的jdk主流的是sun公司的jdk,当然IBM和其他一些商业公司都开发有自己的jdk,提高编程效率,这里我们以sun公司的jdk为例. jdk下载地址:https://www.oracle.com/downloads/index.html,输入URL地址,页面跳转到如下页面,然后我们选择Java SE: 跳转到如下页面,然后我们选择红框所示标题: 下一步跳转到: 这里面有各种版

Fedora Server 21下OpenJdk和Oracle Jdk共存

参考文章:博客园-三维蚂蚁 Linux公社 1.首先需要下载对应平台的Jdk:Oracle 官网 2.使用yum或rpm命令安装Jdk: yum install ./jdk-8u40-linux-x64.rpm 3.配置环境变量 vi /etc/profile 后在倒数第三行处输入下面的内容: export JAVA_HOME=/usr/java/jdk1.8.0_40 export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/