Linux Icon   Linux x86 Installation

To install and run SalsaJ, download the Linux .tar.gz file, extract the SalsaJ directory, change to the SalsaJ directory, and execute the 'salsaJ' script.

Here is an example:

tar -zxvf salsaJ_VO1-Linux-JDK.tgz
cd SalsaJ
./salsaJ
This installation includes Sun's Java Runtime Environment 1.5.

Memory
To make more than 512MB of memory available to SalsaJ, edit the 'SalsaJ' script. For example, changing the script to

./jre/bin/java -Xmx256m -jar salsaj.jar
makes 256MB available to SalsaJ.

Upgrades
To upgrade to the latest version of  SalsaJ, replace the salsaj.jar JAR file in the SalsaJ directory   by the new one .

Sharing SalsaJ and the JRE
You can specify the location of the plugins directory from the command line using the -D option to set the "plugins.dir" property. This allows SalsaJ to be in a common location (e.g., /usr/local/SalsaJ) and run from the users home directory using a shell script. This example script runs SalsaJ from /usr/local/SalsaJ using a plugins directory at /home/euhou/SalsaJ/plugins:

cd /usr/local/SalsaJ
./jre/bin/java -Xmx512m -jar salsaj.jar -Dplugins.dir=/home/euhou
This example uses the Java 1.5 SDK to run SalsaJ from /usr/local/SalsaJ with the plugin directory also located in /usr/local/SalsaJ:
/usr/java/jdk1.5/bin/java -Dplugins.dir=/usr/local/ImageJ -Xmx512m
-jar /usr/local/SalsaJ/salsaj.jar:/usr/java/jdk1.5/lib/tools.jar
Compiling Plugins
The Plugins/Compile and Run command uses the javac compile contained in tools.jar. The Java 1.5  runtime included with the Linux distribution of SalsaJ 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:
java -Xmx512m -jar salsaj.jar:\usr\local\jdk1.5\lib\tools.jar

| Install | Download | Contents |