Apache Directory Studio on Apple M1 Silicon ·
Sophia Edwards
Published Jan 02, 2026
I have a problem run Apache Directory Studio On Apple silicon MBP M1 Max.
Error:
2021-12-03 12:42:07.497 ApacheDirectoryStudio[5675:42763] Error loading /Library/Java/JavaVirtualMachines/ dlopen(/Library/Java/JavaVirtualMachines/ 0x0109): tried: '/Library/Java/JavaVirtualMachines/ (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libjli.dylib' (no such file) Looks like Homebrew has ApacheDirectoryStudio x86_64 version, but Java is arm64.
Please help.
17 Answers
I was able to run ApacheDirectoryStudio by installing Java for x86_64. Rosetta 2 is required to make this work on the aarch64 (Apple M1) architecture.
To install the x86_64 version of the Java JDK via Homebrew, following command can be used:
arch -x86_64 brew install oracle-jdk Versions used:
- ApacheDirectoryStudio: 2.0.0.v20210717-M17
- Oracle JDK: 17.0.2
There doesn't seem to be a current version which works. However, you can get a working version by installing the new M1 version of Eclipse available here:
Then, at the bottom of the Apache Directory Studio download page is a link with instructions on how to load the directory studio plugin into Eclipse. This works fine. (I am using Java 17, but it should work with any java version from 11 upwards as far as I can see).
You can modify the content of Info.plist.
/Applications/ This file contains the following commented content:
<!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options, or add a VM found via $/usr/libexec/java_home -V <string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/ <string>-vm</string><string>/Library/Java/JavaVirtualMachines/ --> Uncomment this line with the path to your installed JDK.
The latest version of Apache Directory Studio needs Java 11 at a minimum. But even that won't help you on M1, Eclipse won't run, with the old problem of "missing symbol" - which is actually there.
Eclipse has had this problem on and off for years, on all platforms.
The architecture of Java doesn't matter. The Intel version runs fine with Rosetta2. Remember, Java is architecture independent. It the JVM runs, the java application runs.
You may want to encourage them by commenting on my bug report:
There is an RC release of Eclipse for the M1. No clue how long it will take the Apache Directory Studio team to pick it up.
1You can find org.eclipse..cocoa.macosx.x86_64. in
/Applications/
They are preventing boot on M1 Mac.
You can use Apache Directory Studio as an application on Eclipse. See
Martin M.'s solution to install the x86_64 version of a jdk worked for me. Rather than using the oracle-jdk (because that is now licensed software) I used temurin-11. Then following moritz.vieli's comment to modify the Info.plist got things working! To find which path to put into the Info.plist file, run the following command to see which jdk's are installed on your mac:
/usr/libexec/java_home -V (and append /bin/java to the path) This info is found on the Apache Directory Studio website under the FAQ section.
Somehow version 2.0.0.v20200411-M15 ran out of the box on my M1.
ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobmlqYmWEdIOOmqeam5iaeqW10Z6araeirnq0wNSdoKhln6N6orzPpZxmpWFiwKq4yJympw%3D%3D