You may use the jar
command from the JDK or Java 2
SDK to unzip the distribution or use another platform specific
utility to do this. Unzipping the file creates a directory of the
form jaxp-<version>
within the extraction directory.
You can either update the CLASSPATH
environment
variable to include the three jar files, or you can install the
jar files as an extension to Java 2.
To update the CLASSPATH
variable, add the following
components. Let $XML
represent the directory where
you installed JAXP.
$XML/jaxp.jar:$XML/crimson.jar:$XML/xalan.jar
$XML\jaxp.jar;$XML\crimson.jar;$XML\xalan.jar
To install these jar files as an extension of Java 2, copy them to
the $JAVA_HOME/jre/lib/ext
directory. (The
JAVA_HOME
directory is the one that contains
bin/java
.) This eliminates the need to modify class
paths. (This technique may also be used with the Java Plug-in.)