Hi Adam,
I had a quick look and I am no Java expert and it looked logical. The part where the platform is found might be different on Java but compared with PowerShell you get something different:
$PSVersionTable.Platform
Answer : Unix
The check has “linux” to test for inux OS and for MacOS it uses “darwin”.
Perhaps os.platform()
does not return the right value?
Although there is an alarm that would be raised in the switch
to handle that, so there’s that.
Thanks for the example and explanation of how to run Universal server!
Regards,
Steven