Hey, thanks helping with a solution!
I can confirm its not the script nor the CLI line itself, i tested and boot+works on my end.
Even after adding 'pause' to his CMD, which should stop it from going away so the issue is visible the command screen goes away in a second.
I'm pretty clueless at this point of what it could be, can it be the java path or something?
Thanks everybody!