|Oracle interMedia Audio, Image, and Video Java Classes User's Guide and Reference
Part Number A85374-01
Three sample files (programs written in Java) are provided in the installation of interMedia Java Classes. These files provide examples of how to build Java applications with interMedia. They demonstrate loading data from various sources into database objects, downloading data from database objects to the file system, and extracting and displaying metadata from the media content.
The names of the Java sample files are as follows:
In order to run the Java sample files included with interMedia Java Classes, you must perform the following operations:
You must have the Oracle8i database server that includes Oracle interMedia installed on a server machine.
All users must make sure that classes111.zip, ordim817.zip, the JDK classes, and the SQLJ runtime.zip files are included in the CLASSPATH variable on the local machine, and the local directory containing the javac and java commands is included in the PATH variable on the local machine.
Solaris users must make sure the directory that contains ocijdbc8.so is included in the LD_LIBRARY_PATH variable.
Windows NT users must make sure that the directory that contains ocijdbc8.dll is included in the PATH variable.
Using version 1.1.6 of the JDK, compile the sample programs using the appropriate command:
In order for the sample programs to run, your database must include tables that contain a column of the appropriate interMedia object type. The interMedia Java Classes installation includes three SQL files that contain commands to create a new user and create a table, and add some sample data to the table.
The names of the SQL scripts are as follows:
Run the sample program using the appropriate command:
For more information on the sample files, see the appropriate readme file.