1.4 - Preparation to code

The Apache Directory LDAP API requires Java 8 or higher.

Secondly, you must download the API 1.0 or API 2.0. This package contains the LDAP API plus all of its dependent jars (like commons-lang, slf4j…).

If you’re using Maven, add the following dependency on api-all.jar :


and all of its dependent jar files will be included automatically. That’s it, now you should be ready to code!