![]() To install and run ImageJ, download the Linux x86 .tar.gz file, extract the ImageJ directory, change to the ImageJ directory, and execute the 'run' script. Here is an example: This installation includes Sun's Java Runtime Environment 1.4.2 and the complete ImageJ source code (in the src.zip).gunzip ij123-x86.tar.gz tar xvf ij123-x86.tar cd ImageJ ./run
Memory makes 256MB available to ImageJ../jre/bin/java -Xmx256m -cp ij.jar ij.ImageJ
Upgrades
Sharing ImageJ and the JRE This example uses the Java 1.5 SDK to run ImageJ from /usr/local/ImageJ with the plugin directory also located in /usr/local/ImageJ:cd /usr/local/ImageJ ./jre/bin/java -Xmx128m -cp ij.jar -Dplugins.dir=/home/wayne ij.ImageJ Compiling Plugins/usr/java/jdk1.5/bin/java -Dplugins.dir=/usr/local/ImageJ -Xmx500m -cp /usr/local/ImageJ/ij.jar:/usr/java/jdk1.5/lib/tools.jar ij.ImageJ The Plugins/Compile and Run command uses the javac compile contained in tools.jar. The Java 1.4.2 runtime included with the Linux distribution of ImageJ includes tools.jar in ImageJ/jre/lib/ext. Users of the Java SDK will need to add tools.jar to the command line. Here is an example: Browser Supportjava -Xmx200m -cp ij.jar:\usr\local\jdk1.4\lib\tools.jar ij.ImageJ The Help/ImageJ Web Site and Help/Online Docs commands run the Netscape browser to open the ImageJ website. If Netscape is not installed you will need to brovide a symbolic link such as ln -s /usr/local/bin/mozilla /usr/local/bin/netscape or ln -s /opt/kde3/bin/konqueror /usr/local/bin/netscape |