extractjava

Copies a retained JAR and the classes it contains from an Adaptive Server into a client file.

The utility is located in:
  • (UNIX) $SYBASE/$SYBASE_OCS/bin.

  • (Windows) %SYBASE%\%SYBASE_OCS%\bin, as extrjava.exe.

Syntax

extractjava (extrjava in Windows)
	-j jar_name
	-f file_name
	[-a display_charset]
	[-D database_name]
	[-I interfaces_file]
	[-J client_charset]
	[-P password]
	[-S server_name]
	[-t timeout]
	[-U user_name]
	[-v]
	[-z language]
or:
extractjava -v

Parameters

Examples

Usage

  • Set the SYBASE environment variable to the location of the current version of Adaptive Server before you use extractjava.

  • If the target client file already exists, extractjava overwrites its contents.

  • You can write parameter flags -f, -j, -S, -U, -P, -D, and -I with or without a space between the flag letter and the following parameter.

  • When you execute extractjava, an exclusive lock is placed on sysxtypes.

  • Specifying -jar places an exclusive table lock on sysjars.

See also:
  • Java in Adaptive Server Enterprise
  • Reference Manual: Commandsremove java
  • Reference Manual: Proceduressp_helpjava

Permissions

You need to be a system administrator or database owner to use extractjava.

Tables used

sysjars, sysxtypes

Related reference
installjava
langinstall