Visual Information Retrieval Java Classes Program Examples 
-------------------------------------------------------------------------------

 The VirExample sample application is provided to help developers learn 
 how to use the Visual Information Retrieval Java Classes. The sample code 
 demonstrates how to load data from various sources (files, inputstreams, 
 byte arrays) into ORDVir objects and how to download data from ORDVir
 objects. It also demonstrates how to extract attributes from media content 
 and display them. 
   

 Requirements for the sample application 

 Before running a sample application: 

      o Install Oracle8i, interMedia and Visual Information Retrieval  
         
      o In VirExample.sql, change the password for the SYSTEM user and
        edit the directory path to reflect your ORACLE_HOME.
             
      o Execute VirExample.sql - It will:  
           - create a table with two columns of type ORDVir
           - insert a few rows in the table 
             
      o Ensure that the Java environment is correct and set up to compile
        and run Java programs.

      o Confirm that the CLASSPATH environment variable includes the
        following (note that the location of the jdk classes is version 
        and installation dependent and not mentioned here):  
        Unix:
          <ORACLE_HOME>/jdbc/lib/classes111.zip or classes12.zip
          <ORACLE_HOME>/ord/jlib/ordim817.zip
          <ORACLE_HOME>/ord/jlib/ordvir817.zip
          <ORACLE_HOME>/sqlj/lib/runtime.zip
        Windows NT:
          <ORACLE_HOME>\jdbc\lib\classes111.zip or classes12.zip
          <ORACLE_HOME>\ord\jlib\ordim817.zip
          <ORACLE_HOME>\ord\jlib\ordvir817.zip
          <ORACLE_HOME>\sqlj\lib/runtime.zip
             
      o Be sure the location of the JDBC OCI shared library is specified in
        LD_LIBRARY_PATH (for UNIX) or PATH (for Windows NT).  Note that this
        library may already be specified since the same shared library 
        location must be specified to use other client applications such as
        SQL*Plus.
        Unix:
          <ORACLE_HOME>/lib (for libocijdbc8.so)
        Windows NT:
          <ORACLE_HOME>\bin (for ocijdbc8.dll)

 Comple the sample applications 

       Compile the sample using using:  
            javac compiler  
            jdk1.1.8 java package. 

 Run the sample applications 

       From the command line, type:  
            java VirExample  

