Allow Oracle JDK 21 usage
This commit is contained in:
parent
0ab4596768
commit
6c633eb725
|
@ -88,8 +88,8 @@ export class OracleDistribution extends JavaBase {
|
|||
`${ORACLE_DL_BASE}/${major}/archive/jdk-${range}_${platform}-${arch}_bin.${extension}`
|
||||
);
|
||||
|
||||
if (parseInt(major) < 17) {
|
||||
throw new Error('Oracle JDK is only supported for JDK 17 and later');
|
||||
if (parseInt(major) < 21) {
|
||||
throw new Error('Oracle JDK is only supported for JDK 21 and later');
|
||||
}
|
||||
|
||||
for (const url of possibleUrls) {
|
||||
|
|
Loading…
Reference in New Issue