|
|
Installing Netscape Directory SDK for Java - (Version 4.1.7)
Return to Netscape Directory Resources Home Page.
Introduction / Downloading
http://www.mozilla.org/directory/javasdk.html
This article provides the instructions for installing and configuring the Netscape Directory SDK for Java
for the UNIX / Linux platform.
For example:
The Netscape Directory SDK 4.1 for Java provides programmers and developers with the tools to
needed to develop directory-enabled software. The latest release of the Netscape Directory SDK for Java
is 4.1.7 and can be downloaded from:
System Requirements
The following system requirements are for building and utilizing the Netscape
Directory SDK for Java, version 4.1.7 on the UNIX / Linux platform:
Build Instructions
The following instructions are provided to build the SDK software:
Configuration Instructions
# gzip -dc <filename>.tar.gz | tar -xvf -
For example:
# gzip -dc ldapsdk_java_20020819.tar.gz | tar -xvf -
JAVA_HOME=/usr/java
CLASSPATH=.:/u01/app/oracle/product/9.2.0/jdbc/lib/ojdbc14.jar:/u01/app/oracle/product/9.2.0/lib/servlet.jar
JAVA_VERSION=1.4
MOZ_SRC=/u01/app/oracle/mozilla
export JAVA_HOME CLASSPATH JAVA_VERSION MOZ_SRC
# cd mozilla/directory/java-sdk
# gmake -f ldap.mk
# gmake -f ldap.mk basepackage
# gmake -f ldap.mk doc
NOTE: If you are using JDK1.1, javadoc
images will be missing and you'll need to copy those images from somewhere else into
mozilla/directory/java-sdk/dist/doc/images. If you are using JDK1.2
you do not need to do that.
# gmake -f ldapsp.mk
# gmake -f ldapsp.mk basepackage
# gmake -f ldapsp.mk doc
After building the Netscape Directory SDK for Java (using the instructions above), the most important
file is the JAR file for the SDK: "ldapjdk.jar". Simply put this JAR file in your CLASSPATH
variable to start using the SDK.
# CLASSPATH=$JAVA_LIB/ldapjdk.jar:$CLASSPATH; export CLASSPATH
Last modified on: Saturday, 18-Sep-2010 17:23:17 EDT
Page Count: 19971