Have you ever faced an error while launching Apache Directory Studio? I faced this error recently on my MAC OS.
Problem:
I was using Apache Directory Studio for past few months without any issues, but yesterday all of a sudden I was getting below error while I was attempting to launch Apache Directory Studio application on my MAC. Note that I am using Apache Directory Studio version 2.0.0.v20130628
I open the log file to check the error message, it was so confusing. Error message was something like this:
Root Cause:
I recently installed latest Java version i.e. Java 9 on my MAC and I encountered this issue due to the Java version upgrade. The error message in the log file is bit misleading.
Solution:
To resolve this issue, you can follow below mentioned steps:
-
- Click here and refer my other post to install multiple versions of Java on your MAC OS.
- Make sure you install Java 7 on your MAC OS.
- Execute this command to get the Java 7 location: /usr/libexec/java_home -v 1.7
- Now open Finder and click on Applications
- Next, locate Apache Directory Studio.app and right click
- Select Show Package Contents
- Go to Contents >> MacOS folder
- Create ApacheDirectoryStudio.ini file if not present already
- Add following contents (note that there are two lines) and save the file.
- Now, when you attempt to open Apache Directory Studio, it should open without any issues.