Installs a JAR from a client file into an SAP ASE server.
(UNIX) $SYBASE/$SYBASE_OCS/bin.
(Windows) %SYBASE%\%SYBASE_OCS%\bin as instjava.exe.
installjava -f file_name [ -new | -update ] [ -a display_charset ] [ -D database_name ] [ -I interfaces_file ] [ -J client_charset ] [ -j jar_name ] [ -P password ] [ -S server_name ] [ -t timeout ] [ -U user_name ] [ -v] [ -z language ]
installjava -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.
-new – you cannot install a class with the same name as an existing class
-update – install a class with the same name as an existing class, and the newly installed class replaces the existing class
installjava -f '/home/usera/jars/addr.jar' -new
instjava -f '\home\usera\jars\addr.jar' -new
installjava -f '/home/usera/jars/addr.jar' -update -j employees
instjava -f '\home\usera\jars\addr.jar' -update -j employees
You need to be a system administrator or database owner to use installjava.
sysjars, sysxtypes