Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
4.2.1.Final
-
None
Description
There's a bug in the rhamt-cli script that was introduced in this change (JDK 11 Compatibility):
https://github.com/windup/windup-distribution/pull/56
This line specifically:
When a user with JVM version/build of 1.8.0_131-b11 runs the rhamt-cli script, it will meet the above "11") condition, and append the "--add-modules=java.se" option, which is not supported in Java 8, and causes the JVM to crash.
The fix might be as simple as changing the "11 condition to "11. so the b11 substring no longer satisfies the seslection critreria.