Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Part 3 Other Application Developments> Chapter 12 XML Conversion Function> 12.3 Setting up the XML Conversion Function APIs

12.3.2 Setting Environment Variables

Set the environment variables required for using the XML conversion function APIs:

If XML processors other than 'xercesImpl.jar' are specified in the CLASSPATH, 'xercesImpl.jar' must be specified before these XML processors.

Examples of how to set these environment variables are shown below.
In these examples, Oracle 8i/9i JDBC driver for JDK 1.3 (classes12.zip) is used as the JDBC driver.

Example

To install Shunsaku APIs in C:\Program Files\Interstage Shunsaku:
CLASSPATH=C:\Program Files\Interstage Shunsaku\lib\classes12.zip;%CLASSPATH%
SET CLASSPATH=C:\Program Files\Interstage Shunsaku\lib\xercesImpl.jar;%CLASSPATH%
SET CLASSPATH=C:\Program Files\Interstage Shunsaku\lib\xml-apis.jar;%CLASSPATH%
SET CLASSPATH=C:\Program Files\Interstage Shunsaku\lib\xmlconv.jar;%CLASSPATH%

Example 1

For bash, Bourne shell or Korn shell:
CLASSPATH=/opt/FJSVshnsk/lib/classes12.zip:$CLASSPATH
CLASSPATH=/opt/FJSVshnsk/lib/xercesImpl.jar:$CLASSPATH
CLASSPATH=/opt/FJSVshnsk/lib/xml-apis.jar:$CLASSPATH
CLASSPATH=/opt/FJSVshnsk/lib/xmlconv.jar:$CLASSPATH
export CLASSPATH

Example 2

For C shell:
setenv CLASSPATH /opt/FJSVshnsk/lib/classes12.zip:${CLASSPATH}
setenv CLASSPATH /opt/FJSVshnsk/lib/xercesImpl.jar:${CLASSPATH}
setenv CLASSPATH /opt/FJSVshnsk/lib/xml-apis.jar:${CLASSPATH}
setenv CLASSPATH /opt/FJSVshnsk/lib/xmlconv.jar:${CLASSPATH}

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006