It is useful and common practice to collect sets of related classes together in packages, and to store one or more packages in a JAR file.
You install a JAR file the same way as you install a class file. A JAR file can have the extension JAR or ZIP. Each JAR file must have a name in the database. Usually, you use the same name as the JAR file, without the extension. For example, if you install a JAR file named myjar.zip, you would generally give it a JAR name of myjar.
For more information, see INSTALL JAVA statement.
Connect to the database as a DBA user.
Open the External Environments folder.
Under this folder, open the Java folder.
Right-click the right pane and choose New » JAR File.
Follow the instructions in the wizard.
Connect to a database as a DBA user.
Execute the following statement:
INSTALL JAVA NEW JAR 'jarname' FROM FILE 'path\\JarName.jar'; |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |