Re: path on linux

Posted by Benoit Zuber on
URL: http://imagej.273.s1.nabble.com/path-on-linux-tp3691033p3691035.html

Thanks Gabriel and Johannes for your reply!
Using a similar startup script as you described Gabriel worked well for me.
Regards,
Ben
Gabriel Lapointe wrote:

> This is my launching script that I've been using on Ubuntu and Debian
> linux. I can start it in any directories and use the plugins
> (-Dplugins.dir parameter). The only glitch is the LUT folder, it need to
> be in the launching directory to be available.
>
> Good luck,
> Gabriel
>
> #!/bin/bash
> memory=7500m
> imagej=/usr/local/ImageJ/ij.jar
> java=/usr/lib/jvm/java-6-sun/jre/bin/java
> javarun=/usr/lib/jvm/java-6-sun/lib/tools.jar
> $java -Dplugins.dir=$HOME/.ImageJ/plugins -Xmx$memory -cp
> $imagej:$javarun ij.ImageJ
>
>
>
> Benoit Zuber wrote:
>  
>> Hi,
>>
>> On linux, if I am in ImageJ directory when I start it then all the
>> plugins are accessible. However when I start it from another directory
>> (with path/run), I don't get the plugins anymore. I tried the command :
>> path/run -ijpath path
>> but it did not help.
>> Could anybody please help me with this?
>> Thanks
>>
>> Ben
>>  
>>    


--
BenoƮt Zuber
MRC Laboratory of Molecular Biology
Hills Road
Cambridge
CB2 0QH
United Kingdom
+44 1223 402209
[hidden email]