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

Installing "ImageSearcher for Java" on Macintosh

  1. System Requirement

  2. Installing Java 2 Standard Edition 1.3
    Java 2 Standard Edition 1.3 is included in Mac OS X.
    To develop with "ImageSearcher for Java", you need to install Developer Tools.
  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 folders. Please restore them in an appropriate folder.

    * You need StuffIt Expander or ZipIt to unzip it on Mac OS.

    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 shlib file for StPL
    lib/StPL??.jar ... StPL in JAR format. The ?? stands for the version no.
    lib/macintosh-osx/StPL.shlib.hqx ... JNI-compliant shlib 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.

    To rebuild StPL.shlib, execute make -f Makefile-macosx in ~/Isr4Java/src-jni/ST. You need Developer Tools installed.

  5. Invoking the Launcher

    Open the Terminal window, and set the DYLD_LIBRARY_PATH environment variable. Then, 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 command.

        setenv DYLD_LIBRARY_PATH $HOME/Isr4Java/lib/macintosh-osx
        setenv CLASSPATH=$HOME/Isr4Java/lib/isr023b.jar:$HOME/Isr4Java/lib/StPL41.jar:$HOME/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 "$HOME/Isr4Java" and "$HOME/lib/Jimi". If they have been installed elsewhere, then revise the specification of CLASSPATH appropriately.


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