Japanese | English
[ImageSearcher for Java] [Manuals] [Installation]

Installing "ImageSearcher for Java" on Microsoft Windows

  1. System Requirement

  2. Installing J2SDK/JRE

    First, install Sun Microsystems's Java2 Software Development Kit (J2SDK), or Java2 Runtime Environment (JRE). J2SDK and JRE are both available at no cost from Sun Microsystems's Java Technology Homepage.

    J2SDK and JRE are provided as executable installer files, so after downloading, just run the installer and follow the instructions given.

  3. Installing JIMI Software Development Kit/Java Advanced Imaging API

    Install Sun Microsystems's JIMI Software Development Kit, or Java Advanced Imaging API. JIMI Software Development Kit and JIMI Software Development Kit is available at no cost from Sun Microsystems's Java Technology Homepage.

    The downloadable files have been archived in ZIP/Compressed TAR format and restoring them.

  4. Installing "ImageSearcher for Java"

    The most recent version of "ImageSearcher for Java" is available for downloading from SRA's FTP server.

    The downloadable files have been archived in ZIP format and restoring them will result the following files and directories.

    README...README file
    changes...Changes file
    Manuals/...Directory which contains the installation manual.
    src...Source directory.
    lib/isr???.jar...Class library in JAR format. The ??? stands for the version no.
    sql/...Directory which contains the SQL files for "ImageSearcher for Web".
    webapps/...Directory which contains the HTML/JSP files for "ImageSearcher for Web".

    The downloaded file contains StPL.

    README-StPL...README file of StPL.
    src/sra/smalltalk...Source directory of StPL.
    src-jni/ST...Source directory of JIN-compliant DLL file for StPL
    lib/StPL??.jar ... StPL in JAR format. The ?? stands for the version no.
    lib/windows/StPL.dll ... JNI-compliant DLL file needed to access StPL.

    As this library is a port of the original "Jun" and "ImageSearcher" written in Smalltalk ("Jun for Smalltalk" and "ImageSearcher for Smalltalk"), "ImageSearcher for Java" uses SRA's "Smalltalk-Style Programming Library". Please read the README file at the StPL directory for more information.

    Among these, StPL.dll must be copied or moved to the path specified as the system directory.

  5. Invoking the Launcher

    Add the 2 JAR files that have been installed (i.e., "isr???.jar" and "StPL??.jar") to the Java class path, then specify the class containing the method main, and invoke the Java virtual machine.

    For example, in the case of JIMI Software Development Kit, this can be accomplished by executing the following batch file.

        set CLASSPATH=C:\Isr4Java\lib\isr023b.jar;C:\Isr4Java\lib\StPL41.jar;C:\lib\Jimi\JimiProClasses.zip
        java -Xms10m -Xmx100m sra.isr.system.support.IsrLauncher

    In this, it is assumed that the JAR files have been installed in the path "C:\Isr4Java" and "C:\lib\Jimi". If they have been installed elsewhere, then revise the specification of CLASSPATH appropriately.

    Further, in the case of Java Advanced Imaging API, executing the following batch file is possible.

        set CLASSPATH=C:\Isr4Java\lib\isr023b.jar;C:\Isr4Java\lib\StPL41.jar;C:\lib\Jai\jai_core.jar;C:\lib\Jai\jai_codec.jar;C:\lib\Jai\mlibwrapper_jai.jar
        java -Xms10m -Xmx100m sra.isr.system.support.IsrLauncher

Mitsuhiro Asada <m-asada@sra.co.jp>