I also faced a similar issue for Apache Directory Studio. Tried almost all of the solutions listed here, but nothing worked for me. I'm using a macOS M3 pro which is on aarch64 architecture.
In my case, only solution was to clone and build the directory-studio from the source (You can find the built artifacts in the "product/target/products/" directory).