Using Interactive SQL, connect to the sample database as the DBA.
Install the JDBCExample.class file into the sample database by executing the following statement in Interactive SQL:
INSTALL JAVA NEW
FROM FILE 'JDBCExample.class'
If the database server was not started from the same directory as the class file, then you will have to include the path to
the class file in the INSTALL statement.
You can also install the class using Sybase Central. While connected to the sample database, open the Java subfolder under External Environments and click File » New » Java Class. Follow the instructions in the wizard.