Java Libraries
From http://xml.Apache.org download the
latest versions of junit, jakarta-ant, xalan and xerces. Put them in top level
directories with very descriptive names like
C:\xerces-2_1_0.
From http://www.JBoss.org download JBoss
and put it in a very descriptive top level directory such as
C:\jboss-3.0.0_tomcat-4.0.3.
Legacy Procedures -- Do not Use
I previously believed that one should put all the java libraries in the class
path and discovered that this can be disastrous when Cocoon needs an older
version of Xerces than Xalan does.
- Install additional java libraries
- ftp://ftp.mozilla.org/pub/js/
or preferably http://www.mozilla.org/rhino/download.html.
Put the js.jar file in the class path.
- http://xml.apache.org/xalan/index.html.
Put the xerces.jar, xalan.jar,bsf.jar, bsfengines.jar in the
classpath variables.
- http://xml.apache.org/dist/xerces-j/Xerces-J-bin.1.1.1.zip.
Put the xercesSamples.jar
file in the class path. Do not put the xerces.jar file from this
directory in the path. Use the one from Xalan.
- Here are all the things that should be on the class path. Note the first
one is very important and is not a typo!
- .
- C:\Program Files\JavaSoft\Jaxp1.0.1\jaxp.jar
- C:\Program Files\JavaSoft\Jaxp1.0.1\parser.jar
- c:\jsdk2.0\lib\jsdk.jar;
- D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\xerces.jar
- D:\WinOOP\Batky-Howell\Java-XML\Apache\xerces-1_1_1\xercesSamples.jar
- D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\xalan.jar
- D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\bsf.jar
- D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\bsfengines.jar
- D:\WinOOP\Batky-Howell\Java-XML\Apache\js.jar
For windows
the class path should look something like this:
.;C:\Program Files\JavaSoft\Jaxp1.0.1\jaxp.jar;C:\Program Files\JavaSoft\Jaxp1.0.1\parser.jar;c:\jsdk2.0\src;D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\xerces.jar;D:\WinOOP\Batky-Howell\Java-XML\Apache\xerces-1_1_1\xercesSamples.jar;D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\xalan.jar;D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\bsf.jar;D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\bsfengines.jar;D:\WinOOP\Batky-Howell\Java-XML\Apache\js.jar