Copies a retained JAR and the classes it contains from an SAP ASE server into a client file.
(UNIX) $SYBASE/$SYBASE_OCS/bin.
(Windows) %SYBASE%\%SYBASE_OCS%\bin, as extrjava.exe.
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]
extractjava -v
-J client_charset requests that the SAP ASE server convert to and from client_charset, the character set used on the client.
-J with no argument disables character set conversion. Use this if the client and server use the same character set.
Omitting -J sets the character set to a default for the platform, which may not necessarily be the character set that the client is using. See the System Administration Guide for more information about character sets and associated flags.
extractjava -j employees -f '/home/usera/jars/addr.jar' -new
extrjava -j employees -f '\home\usera\jars\addr.jar' -new
Set the SYBASE environment variable to the location of the current version of SAP ASE 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.
You need to be a system administrator or database owner to use extractjava.
sysjars, sysxtypes