Skip to content

Commit f89b008

Browse files
committed
fix: update linux download URL
1 parent 1e41127 commit f89b008

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/util

dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/util/JdkDownloader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class JdkDownloader {
2424

2525
switch (OS) {
2626
case "linux":
27-
JDK_URL = "https://download.java.net/java/GA/jdk17.0.2/0d483333a00540d886896a45e7e18309295e7f3a/jdk-17.0.2_linux-x64_bin.tar.gz";
27+
JDK_URL = "https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-linux-x64.tar.gz";
2828
break;
2929
case "mac os x":
3030
case "mac":
@@ -106,7 +106,7 @@ public static Path getJdkHome() throws IOException {
106106
wrapper.tick();
107107
wrapper.succeed();
108108
} catch (IOException e) {
109-
Files.deleteIfExists(jdkPath);
109+
Files.deleteIfExists(getCachedJdk());
110110
throw e;
111111
}
112112
} else {

0 commit comments

Comments
 (0)