Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Directory Studio java was started but returned exit code=13

I have to install Apache Directory Studio.

For this I perform the below Steps

  1. Download ApacheDirectoryStudio-win32-x86-2.0.0.v20130628.exe

  2. Double click on ApacheDirectoryStudio-win32-x86-2.0.0.v20130628.exe and perform Next than it ask for Java Home Directory

  3. I browse and give the path C:\Program Files\Java\jdk1.8.0_60\ on Java Home Directory and perform Next Steps as Default Configuration

After complete installation of Apache Directory Studio when I try to Open Apache Directory Studio it gives the following Error

enter image description here

I am using Java 1.8 and Windows 10.

like image 896
user3441151 Avatar asked Dec 15 '16 14:12

user3441151


3 Answers

Apache Directory Studio Edit the configuration file for ADS. Mine was here

C:\Apache Directory Studio\ApacheDirectoryStudio\ApacheDirectoryStudio

Take a backup of the file before editing it.

Add the following lines to the bottom of the file and save it.

-vm
C:\Program Files\Java\jdk1.8.0_05\bin\javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m

Works now :)

The same technique also works for Eclipse. Just edit the eclipse configuration file in the same way. Mine was here: -

C:\Eclipse\eclipse\eclipse
like image 181
Nadeem Avatar answered Oct 14 '22 23:10

Nadeem


Apache Directory Studio requires the JDK and will show that error when it tries to run on a normal JRE.

Find the ApacheDirectoryStudio.ini file in the application root (e.g., in "C:\Program Files (x86)\Apache Directory Studio")

Add or update these 2 lines in the INI ['C:\Program Files\Apache Directory Studio\Apache Directory Studio.ini'] (adjust the JDK path according to your setup):


  • -vm
  • C:/Program Files/Java/jdk1.8.0_60/bin

like image 31
Mr.Wosch Avatar answered Oct 14 '22 22:10

Mr.Wosch


This has been resolved.

The issue is that, my "Apache Directory Studio" is 64bit and my "jdk" is 32bit. So I just uninstalled the jdk 32bit and installed jdk 64bit, after this issue has been fixed.

Thanks everyone for sharing your knowledge.

like image 40
user3441151 Avatar answered Oct 15 '22 00:10

user3441151