From 2a47f10731ae9700f2fb152f178c19e5d4575e2d Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sat, 2 Nov 2024 11:19:17 +0100 Subject: [PATCH] Fix JavaFX --- home/features/coding/intellij.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/features/coding/intellij.nix b/home/features/coding/intellij.nix index 3ead03a..6af9cf9 100644 --- a/home/features/coding/intellij.nix +++ b/home/features/coding/intellij.nix @@ -3,6 +3,7 @@ (pkgs.unstable.jetbrains.plugins.addPlugins pkgs.unstable.jetbrains.idea-ultimate ["ideavim"]) ]; home.sessionVariables = { - JAVA_HOME = "${pkgs.jdk17}/lib/openjdk"; + JAVA_HOME = "${pkgs.openjdk17}/lib/openjdk"; + LD_LIBRARY_PATH = "${pkgs.libGL}/lib:${pkgs.gtk3}/lib:${pkgs.glib.out}/lib:${pkgs.xorg.libXtst}/lib"; }; }