You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# install JavaFX bundled versions (use -fx suffix after distribution)
25
+
vfox install java@21.0.5-zulu-fx # Zulu with JavaFX
26
+
vfox install java@21.0.5-librca-fx # Liberica with JavaFX
27
+
24
28
# view all available versions
25
29
vfox search java # view all openjdk versions
26
30
vfox search java tem # view all temurin versions
27
31
vfox search java zulu # view all zulu versions
28
32
vfox search java graal # view all graalvm versions
29
33
```
30
34
35
+
## JavaFX Support
36
+
37
+
Some distributions provide JDK versions bundled with JavaFX. These versions are displayed with the `-fx` suffix after the distribution name in the version list and marked with "JavaFX" in the notes. To install a JavaFX bundled version, add `-fx` after the distribution name:
38
+
39
+
```shell
40
+
# List versions (JavaFX versions will show -fx suffix)
localfx_msg=distribution_version.javafx_bundledand" with JavaFX" or" without JavaFX"
32
+
error("No JDK found for " ..ctx.version..fx_msg.." on " ..RUNTIME.osType.."/" ..RUNTIME.archType..". Please check available versions with 'vfox search java'")
33
+
end
34
+
35
+
localjdk=filtered_jdks[1]
21
36
localinfo=json.decode(httpGet(jdk.links.pkg_info_uri, "Failed to fetch jdk info")).result[1]
22
37
-- TODO: checksum
23
38
-- local checksum = info.checksum
24
39
-- if checksum == "" and info.checksum_uri ~= "" then
25
40
-- checksum = httpGet(info.checksum_uri, "Failed to fetch checksum")
0 commit comments