When a JAR is installed in a database, the server disassembles the JAR, extracts the classes, and stores them separately. The JAR is not stored in the database unless you specify installjava with the -j parameter.
Use of -j determines whether the Adaptive Server system retains the JAR specified in installjava or uses the JAR only to extract the classes to be installed.
If you specify the -j parameter, Adaptive Server installs the classes contained in the JAR in the normal manner, and then retains the JAR and its association with the installed classes.
If you do not specify the -j parameter, Adaptive Server does not retain any association of the classes with the JAR. This is the default option.
Sybase recommends that you specify a JAR name so that you can better manage your installed classes. If you retain the JAR file:
You can remove the JAR and all classes associated with it, all at once, with the remove java statement. Otherwise, you must remove each class or package of classes one at a time.
You can use extractjava to download the JAR to an operating system file. See “Downloading installed classes and JARs”.