When building on Windows I get the error:
java.io.IOException: Cannot run program "C:\J8\jre\bin\java": CreateProcess error=206
From googling I can tell that I am not the only one with this problem.
It has to do with a command line restriction in Windows on 32k of text as I remember
I have tried out a dozen of suggestions from googling with no luck.
Using IntelliJ IDEA. Have made an Ubuntu VM where I have the excat same project running with IntelliJ