From 4afe97334fe067f83cf011da2cefed25e92adcfb Mon Sep 17 00:00:00 2001 From: Nathan McRae Date: Sun, 5 Jan 2025 11:26:25 -0800 Subject: [PATCH] Fix PATH setting --- src/main/java/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/build.ps1 b/src/main/java/build.ps1 index e7d1c06..35d1bba 100644 --- a/src/main/java/build.ps1 +++ b/src/main/java/build.ps1 @@ -1,5 +1,5 @@ $Env:JAVA_HOME = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1" -$Env:PATH += "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1\bin" +$Env:PATH = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1\bin;$($Env:PATH)" $Env:PATH_TO_FX="C:\Users\nathanm\Downloads\openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib" javac --module-path $Env:PATH_TO_FX --add-modules javafx.controls,javafx.fxml .\name\nathanmcrae\NumbersStation.java .\name\nathanmcrae\NumbersStationController.java -d out cp name/nathanmcrae/*.fxml out/name/nathanmcrae