2024-09-26 00:04:39 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
java.enable = true;
|
|
|
|
java.package = pkgs.jdk;
|
|
|
|
java.binfmt = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.variables = {
|
2024-11-15 18:01:13 +01:00
|
|
|
JAVA_8_HOME = "${pkgs.jdk8}/lib/openjdk/";
|
|
|
|
JAVA_17_HOME = "${pkgs.jdk17}/lib/openjdk/";
|
|
|
|
JAVA_21_HOME = "${pkgs.jdk21}/lib/openjdk/";
|
2024-09-26 00:04:39 +02:00
|
|
|
};
|
|
|
|
}
|