Installing XQL in Adaptive Server

This section assumes you have already enabled Java in Adaptive Server. For information, see Chapter 2, “Preparing for and Maintaining Java in the Database.”

installjava copies a JAR file into Adaptive Server and makes the Java classes in that JAR file available for use in the current database. The syntax is:

 -f file_name
 [-new | -update ]


For more information about installjava, see the Utility Guide.

To add support for XML in Adaptive Server, you must install the and xerces.jar files. These files are located in the directories $SYBASE/ASE-12_5/lib/ and $SYBASE/ASE-12_5/lib/xerces.jar

For example, to install, enter:

installjava -Usa -P -Sserver_name -f $SYBASE/ASE-12_5/lib/

To install xerces.jar, enter:

installjava -Usa -P -Sserver_name -f $SYBASE/ASE-12_5/lib/xerces.jar

NoteTo install xerces.jar in a database, you must increase the size of tempdb by 10MB.