Running java from powershell with environment variables to specify the classpath

Replace it literally: java -cp ../../../*;../../../lib/* helper.colors.AnsiColorKt or if you want to use a powershell variable

$rundir="../../../"
java -cp "$rundir*;$($rundir)lib/*" helper.colors.AnsiColorKt