Re: Linux download
Posted by
Jarek Lipski on
Sep 12, 2008; 9:47am
URL: http://imagej.273.s1.nabble.com/Linux-download-tp3695105p3695108.html
Hi Thomas,
Ok, You're right, I haven't noticed it.. Sorry for stupid question.
In the meantime I discovered a little problem in run script on unix-like
systems. The script looks like this:
java -Xmx512m -jar ij.jar
It works only if it is executed from ImageJ directory, and it is harder
to run ImageJ from graphical menu using a launcher (as described in
installation instruction
http://rsbweb.nih.gov/ij/docs/install/linux.html#launcher).
Maybe the generic run script could be modified to something like this,
to locate the jar file automatically:
#!/bin/sh
SCRIPT_DIR=`dirname $0`
java -Xmx512m -jar $SCRIPT_DIR/ij.jar
To simplify running / creating laucher (it will not require any text
console activity)?
Best regards,
Jarek
Thomas Boudier pisze:
> Hi Jarek,
>
> You can use the "Generic" download if you already have java.
>
> Thomas
>
>> Hello,
>>
>> Why ImageJ Linux version without Java runtime is not provided? Most of
>> current Linux distributions provide Sun Java, as it is now Open Source.
>> I downloaded ImageJ, removed jre/ subdirectory and modified run script
>> to use default system java ("java -Xmx512m -jar ij.jar"), and it's
>> working fine.
>>
>> Best regards,
>> Jarek
>>
>>
>>
>
>