Skip to content

Commit

Permalink
More java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jo0001 committed Apr 28, 2024
1 parent 5a93fd2 commit 5221886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/jo0001/viaTesting/core/Controller.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void initialize(URL url, ResourceBundle resourceBundle) {
ObservableList items = javaCB.getItems();
String value = "System (" + System.getProperty("java.version") + ")";
items.add(0, value);
int[] javaVersions = {8, 11, 16, 17, 19, 20};
int[] javaVersions = {8, 11, 16, 17, 19, 20, 21, 22};
for (int javaVersion : javaVersions) {
if (new File("java-" + javaVersion).exists()) {
items.add("Java " + javaVersion);
Expand Down

0 comments on commit 5221886

Please sign in to comment.