Maybe this can also be useful. We define a script 'ImageJ'
that contains something like:
#!/bin/sh
... define your VARIABLES ...
java -Xmx1024m -DTANGO_HOST=$TANGO_HOST -Dplugins.dir=$IMAGEJDIR -cp
$CLASSPATH ij.ImageJ $*
than you can call ImageJ with arguments, like:
ImageJ /users/cloetens/ImageJ/*.gif
to start ImageJ and open all gif images in the directory
If you repeat the command, the same ImageJ version will open the
successive images.
Peter
On Jun 20, 2006, at 6:28 PM, Johannes Schindelin wrote:
> Hi,
>
> On Tue, 20 Jun 2006, Andy Weller wrote:
>
>> I've just done an upgrade to 1.37i, but now I can't get ImageJ to
>> start?!
>>
>> My unchanged Linux command line is:
>>
>> java -Dplugins.dir=/home/ME/ImageJ -Xmx192m
>> -cp /opt/ImageJ/ij.jar:/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar
>> ij.Image
>>
>>> From the terminal, the following error is given:
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError: ij/Image
>
> Try ij.ImageJ instead of ij.Image (note the missing "J").
>
> Hth,
> Dscho
>