numbers-station/run.ps1

22 lines
884 B
PowerShell
Raw Normal View History

cd $PSScriptRoot
$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)"
$Env:PATH_TO_FX="C:\Users\nathanm\Downloads\openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib"
$modulePath = "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib"
$modules = $(
"com.ctc.wstx",
"com.fasterxml.jackson.annotation",
"com.fasterxml.jackson.core",
"com.fasterxml.jackson.dataformat.xml",
"com.fasterxml.jackson.datatype.jsr310",
"com.jcraft.jsch",
"javafx.controls",
"javafx.fxml",
2025-01-29 22:24:18 -08:00
"org.apache.commons.cli",
"result",
2025-02-08 17:50:10 -08:00
"wordpress.xmlrpc.client",
"xmlrpc.common"
)
$addModules = $modules -join ","
java --module-path $modulePath --add-modules $addModules -cp out name.nathanmcrae.numbersstation.Main @args