OracleJDK8: Update to version 1.8.0_291

This commit is contained in:
椰子 2021-04-26 08:52:39 +08:00
parent 4d19a56734
commit 4e2b9645a7
2 changed files with 20 additions and 41 deletions

View File

@ -1,41 +0,0 @@
{
"description": "Oracle JDK 8",
"homepage": "https://www.oracle.com/technetwork/java/javase/overview/index.html",
"version": "1.8.0_261",
"license": "https://java.com/otnlicense",
"architecture": {
"64bit": {
"url": "https://scoop-bucket.oss-cn-hangzhou.aliyuncs.com/jdk-8u261-windows-x64.portable.zip",
"hash": "9EB28E3E9BA1733AFCFDA8193B1A23CCECD6EB2E552FF2D920BE84FEF7441E06"
}
},
"cookie": {
"oraclelicense": "accept-securebackup-cookie"
},
"extract_dir": "jdk-8u261-windows-x64.portable",
"env_add_path": [
"bin",
"jre\\bin"
],
"env_set": {
"JAVA_HOME": "$dir",
"CLASSPATH": ".;%JAVA_HOME%\\lib;%JAVA_HOME%\\jre\\lib"
},
"checkver": {
"url": "https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html",
"re": "otn-pub/java/jdk/(?<path>(?<major>[\\d.]+)\\+(?<build>[\\d]+)/(?<hash>[a-fA-F0-9]{32})/jdk-(?:.*?)_windows-x64_bin.zip)",
"replace": "${major}-${build}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.oracle.com/otn-pub/java/jdk/$matchPath"
}
},
"hash": {
"url": "https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html",
"find": "$basename.*([a-fA-F0-9]{64})\"};"
},
"extract_dir": "jdk-$matchMajor"
}
}

20
bucket/oraclejdk8.json Normal file
View File

@ -0,0 +1,20 @@
{
"description": "Oracle Java SDK 8",
"homepage": "https://www.oracle.com/technetwork/java/javase/overview/index.html",
"version": "1.8.0_291",
"license": "https://java.com/otnlicense",
"architecture": {
"64bit": {
"url": "https://scoop-bucket.oss-cn-hangzhou.aliyuncs.com/jdk1.8.0_291.7z",
"hash": "96b67beed03e92c6c2431673612419f3aa3224120fe1bfe13db6c478efedafbb"
}
},
"extract_dir": "jdk1.8.0_291",
"env_add_path": [
"bin"
],
"env_set": {
"JAVA_HOME": "$dir",
"CLASSPATH": ".;%JAVA_HOME%\\lib\\dt.jar;%JAVA_HOME%\\lib\\tools.jar"
}
}