OracleJDK8: Add version 1.8.0_171

This commit is contained in:
xue.ye 2020-05-10 20:12:57 +08:00
commit 8e4a9c342b

41
bucket/OracleJDK8.json Normal file
View File

@ -0,0 +1,41 @@
{
"description": "Oracle JDK 8",
"homepage": "https://www.oracle.com/technetwork/java/javase/overview/index.html",
"version": "1.8.0_171",
"license": "https://java.com/otnlicense",
"architecture": {
"64bit": {
"url": "https://scoop.leafgod.cn/jdk1.8.0_171.portable-xueye.zip",
"hash": "316526B6ABFFD989C1D2E35259AC7F83A75DEDE9A196C512BB0464536C01DC3A"
}
},
"cookie": {
"oraclelicense": "accept-securebackup-cookie"
},
"extract_dir": "jdk1.8.0_171",
"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"
}
}