We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e41127 commit f89b008Copy full SHA for f89b008
1 file changed
dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/util/JdkDownloader.java
@@ -24,7 +24,7 @@ public class JdkDownloader {
24
25
switch (OS) {
26
case "linux":
27
- 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";
28
break;
29
case "mac os x":
30
case "mac":
@@ -106,7 +106,7 @@ public static Path getJdkHome() throws IOException {
106
wrapper.tick();
107
wrapper.succeed();
108
} catch (IOException e) {
109
- Files.deleteIfExists(jdkPath);
+ Files.deleteIfExists(getCachedJdk());
110
throw e;
111
}
112
} else {
0 commit comments