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.

  1. Install additional java libraries
    1. ftp://ftp.mozilla.org/pub/js/ or preferably http://www.mozilla.org/rhino/download.html. Put the js.jar file in the class path.
    2. http://xml.apache.org/xalan/index.html. Put the xerces.jar,  xalan.jar,bsf.jar, bsfengines.jar in the classpath variables.
    3. 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.
  2. Here are all the things that should be on the class path. Note the first one is very important and is not a typo!
    1. .
    2. C:\Program Files\JavaSoft\Jaxp1.0.1\jaxp.jar
    3. C:\Program Files\JavaSoft\Jaxp1.0.1\parser.jar
    4. c:\jsdk2.0\lib\jsdk.jar;
    5. D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\xerces.jar
    6. D:\WinOOP\Batky-Howell\Java-XML\Apache\xerces-1_1_1\xercesSamples.jar
    7. D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\xalan.jar
    8. D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\bsf.jar
    9. D:\WinOOP\Batky-Howell\Java-XML\Apache\xalan_1_0_1\bsfengines.jar
    10. 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

 

 

Send mail to webmaster@SIGNITEK.com with questions or comments about this web site.