Skip to content

Commit

Permalink
fix: update linux download URL
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalsin committed Jan 1, 2025
1 parent 1e41127 commit f89b008
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class JdkDownloader {

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

0 comments on commit f89b008

Please sign in to comment.