If you’re trying to run CommandBox Docker image with JDK 21 (i.e., FROM ortussolutions/commandbox:jdk21) on MacOS with M4 Silicon (and maybe M3 Silicon as well), you may get the following error:
Loading hsdis library failed
Problematic frame: java.lang.System.registerNatives()V+0 java.base@21.0.6
In order to fix, you’ll have to add the following to your .yml file:
environment:
- "_JAVA_OPTIONS=-XX:UseSVE=0"