Agree! I think they are trying to achieve something similar with records.
I compile with intellij, and it works fine. I package the exec with maven and can get it to run in my ide without issues.
The error only occurs after I copy the same package (executable jar plus classpath libs) on a different machine, and try to run it there.
I will need to review all the different steps again. We'll see...