Skip to content

Commit 31d4e0e

Browse files
committed
feat: bump javafx versions
1 parent 65b08e6 commit 31d4e0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/com/tivo/kmttg/gui/JavaFX.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static boolean checkForJavaFX() {
2323
try {
2424
int majorVersion = getJreMajorVersion();
2525
if (majorVersion < 11) {
26-
JOptionPane.showMessageDialog(null, "Your JRE is missing javafx. KMTTG can auto download javafx for JRE 11+ however you ar running a older version.");
26+
JOptionPane.showMessageDialog(null, "Your JRE is missing javafx. KMTTG can auto download javafx for JRE 11-24.");
2727
}
2828

2929
final File currentJar = new File(
@@ -73,11 +73,11 @@ private static boolean downloadJavaFX(File currentJar) throws IOException {
7373
String downloadLink = "";
7474
int majorVersion = getJreMajorVersion();
7575
if (majorVersion < 17) {
76-
downloadLink = "https://download2.gluonhq.com/openjfx/17.0.15/openjfx-17.0.15_" +downloadOs+ "-" + arch + "_bin-sdk.zip";
76+
downloadLink = "https://download2.gluonhq.com/openjfx/17.0.18/openjfx-17.0.18_" +downloadOs+ "-" + arch + "_bin-sdk.zip";
7777
} else if (majorVersion < 22) {
78-
downloadLink = "https://download2.gluonhq.com/openjfx/21.0.7/openjfx-21.0.7_" +downloadOs+ "-" + arch + "_bin-sdk.zip";
78+
downloadLink = "https://download2.gluonhq.com/openjfx/21.0.10/openjfx-21.0.10_" +downloadOs+ "-" + arch + "_bin-sdk.zip";
7979
} else {
80-
downloadLink = "https://download2.gluonhq.com/openjfx/24.0.1/openjfx-24.0.1_" +downloadOs+ "-" + arch + "_bin-sdk.zip";
80+
downloadLink = "https://download2.gluonhq.com/openjfx/25.0.2/openjfx-25.0.2_" +downloadOs+ "-" + arch + "_bin-sdk.zip";
8181
}
8282
String zipFile = update.downloadUrl(zipName, downloadLink);
8383
if (zipFile != null) {

0 commit comments

Comments
 (0)