!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

129 Members
27 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
17 Jul 2025
@emilazy:matrix.orgemilyideally you get the tool to not output those false references to begin with17:16:59
@msgilligan:matrix.orgmsgilligan* Well, I have (at least) three projects using OpenJFX. Generally, it can be loaded via Maven and doesn't need to be bundled with the JDK, but there are some corner cases that pop-up where having it bundled in the JDK resolves the issue. (And I think some of these corner cases are caused by Nix)17:17:12
@emilazy:matrix.orgemily we could still package it in Nixpkgs, and if we absolutely need it bundled into a JDK executable we can use jlink, which I believe should work with Temurin binaries too 17:18:19
@emilazy:matrix.orgemilythough I'd hope we could solve the cases where that appears necessary17:18:28
@emilazy:matrix.orgemily unless they killed jlink too :) 17:19:00
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Amazing, nix-support seemingly has no results in the Nix manual, and 6 entirely different results for things other than remove-references-to17:19:42
@emilazy:matrix.orgemily

like bundling in the JDK is explicitly deprecated

As of JDK 11, the javafx.* modules are no longer included as part of the JDK. They are now distributed separately as a standalone, unbundled release of OpenJFX. They are available either as maven artifacts for use with maven/gradle or as a standalone SDK that includes jmod files for use with jlink.

17:19:43
@emilazy:matrix.orgemily nix-support isn't related to move-references-to 17:20:03
@emilazy:matrix.orgemily nix-support is just files that stuff in Nixpkgs stdenv etc. consume 17:20:11
@emilazy:matrix.orgemilynot sure Nix cares about it at all17:20:14
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ * Amazing, nix-support seemingly has no results in the Nix manual, and 6 entirely different results for things other than remove-references-to in the Nixpkgs manual17:20:32
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️The 6 references are in the nixpkgs manual (edited previous message)17:20:47
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️So it isn't documented in the place where it's most useful anyways17:20:56
@msgilligan:matrix.orgmsgilliganYeah, but it's non-trivial to build your app correctly pulling JavaFX from Maven. I do it correctly in my apps, but I think there are paying Zulu customers who don't know how to do it or have legacy code that is hard to update.17:23:59
@msgilligan:matrix.orgmsgilliganI have run into some Nix-specific JavaFX issues that I was able to workaround by using the bundled JavaFX.17:25:16

Show newer messages


Back to Room ListRoom Version: 6