-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathopenjdk17.json
More file actions
33 lines (33 loc) · 1.24 KB
/
openjdk17.json
File metadata and controls
33 lines (33 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"description": "Official production-ready open-source builds of OpenJDK 17",
"homepage": "https://jdk.java.net/17",
"version": "17.0.2-8",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_windows-x64_bin.zip",
"hash": "b2208206bda47f2e0c971a39e057a5ec32c40b503d71e486790cb728d926b615"
}
},
"extract_dir": "jdk-17.0.2",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://jdk.java.net/archive/",
"re": "https://download\\.java\\.net/java/(?<type>GA)/(?<path>jdk(?<major>17(?:\\.[\\d]+)*)/[^/]+/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>17(?:\\.[\\d]+)*)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin\\.(zip|tar.gz))",
"replace": "${version}-${build}${ea}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
}
},
"hash": {
"url": "$url.sha256"
},
"extract_dir": "jdk-$matchVersion"
}
}