Installing a Java Classes File into an SAP Sybase IQ Database

Install a Java classes file to an SAP Sybase IQ database using Sybase Control Center. This enables the database to execute functions and procedures written in Java.

Prerequisites
Database Version External Environment – Java Privileges
SAP Sybase IQ 15.3 and 15.4 Requires DBA authority.
SAP Sybase IQ 16.0 Requires MANAGE ANY EXTERNAL OBJECT system privilege.
Task

A Java external environment appears in the list of external environments in the Sybase Control Center Administration Console even when none of its classes files have been installed.

  1. In the Perspective Resources view, select the resource and select Resource > Administration Console.
  2. In the left pane, select IQ Servers > Compiled Objects > External Environments > Java > Classes.
  3. Click the arrow beside Classes and select New.
    The Install Java Classes wizard appears.
  4. On the Welcome page, specify:
    Option Description
    Select a Sybase IQ resource on which the Java class will be installed: Select an SAP Sybase IQ resource from the list.
    (Multiplex only) Select a multiplex server on which the Java class will be installed Select a multiplex server from the list.
    SCC agent status Indicates the current status of the SCC agent. If the SCC agent is not registered, click Register Agent and enter the required registration information. If the SCC agent is not authenticated, click Authenticate Agent. Enter a user ID, password, and port for SCC to use when it logs in to the SCC agent.
    Java class file path Enter the path to the Java class file. It must be on a file system accessible to the SAP Sybase IQ resource.
    Comment (Optional) Enter a comment describing the class.
  5. Click Finish to install the class.
Related tasks
Updating a Java Classes File
Deleting a Classes File
Viewing or Modifying Java Classes File Properties
Installing a Java JAR File into an SAP Sybase IQ Database
Updating a Java JAR File
Deleting a JAR File
Viewing or Modifying the Java JAR File Properties
Testing the Configuration of a Java External Environment
Viewing or Modifying Java External Environment Properties
Authenticating a Login Account for a Managed Resource
Registering and Authenticating a Sybase Control Center Agent
Related reference
Java External Environment Privilege Summary