Updating and Replacing Jar Files

You can update or replace a jar file after it has been added to a database.

  1. Select the jar file name in the Navigation panel.
  2. In the right panel, verify the Jar File tab is selected.
  3. Type the name of the updated or new jar file to replace the currently stored jar file (or use the ... button to browse for the file).
  4. Click OK to save changes.

NOTE: You cannot modify the Cloudscape name for a stored jar file.

You can also use the ReplaceJar method from the database SQL window to replace a jar file. The syntax for this statement is on the SQL tab of the Jar File editing panel.

CALL com.ibm.db2j.tools.dbclasses::
replaceJar('APP', 'CurrentJarFile', 'NewJarFile');

Substitute the Cview Jar File object name for CurrentJarFile, and the updated jar file name for NewJarFile.