First, you will need to install Java Development Kit (JDK) 1.1 or higher, or Java Runtime Environment (JRE) 1.1 or higher. JDK and JRE are both available at no cost from Blackdown.org or java.sun.com.
Download JDK or JRE appropriate for your Linux. In most cases, the one for i386 and glibc2.0 might be yours. Follow the instruction of README.linux file and do installation.
Some of the Linux distributions might have JDK ready beforehand. In that case, you don't have to re-install JDK.
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. Please restore them in an appropriate directory (for example, ~/Isr4Java/). Please use '-a' option for unzip.
README ... README file changes ... Changes file Manuals/ ... Directory which contains the installation manual. src ... Source directory. jsrc/ ... Source directory of Swing related classes. lib/isr???.jar ... Class library in JAR format. The ??? stands for the version no.
The downloaded file contains StPL.
README-StPL ... README file of StPL. src/sra/smalltalk ... Source directory of StPL. jsrc/sra/smalltalk ... Source directory of Swing related classes. lib/StPL??.jar ... StPL in JAR format. The ?? stands for the version no.
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.
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 JDK1.1, this can be accomplished by executing the following shell script.setenv CLASSPATH ~/Isr4Java/lib/isr019.jar:~/Isr4Java/lib/StPL31.jar java -ms10m -mx100m sra.isr.system.support.IsrLauncherIn this, it is assumed that the JAR files have been installed in the path "~/Isr4Java". If they have been installed elsewhere, then revise the specification of CLASSPATH appropriately.
Further, in the case of JRE, executing the following command is possible.jre -cp ~/Isr4Java/lib/isr019.jar:~/Isr4Java/lib/StPL31.jar sra.isr.system.support.IsrLauncherFurther more, in the case of JDK1.2, executing the following command is possible.java -ms10m -mx100m -cp ~/Isr4Java/lib/isr019.jar:~/Isr4Java/lib/StPL31.jar sra.isr.system.support.IsrLauncher