Posted by
dscho on
Mar 22, 2011; 3:04pm
URL: http://imagej.273.s1.nabble.com/ImageJ-under-Ubuntu-10-04-64-bit-tp3685262p3685264.html
Hi,
On Mon, 21 Mar 2011, Divakar Ramachandran wrote:
> On Monday 21 March 2011 04:10 PM, Daniel James White wrote:
> >
> > On Mar 21, 2011, at 5:00 AM, IMAGEJ automatic digest system wrote:
> >
> >> From: Divakar Ramachandran <
[hidden email]>
> >>
> >> I have just started using ImageJ under Linux (Ubuntu 10.04 LTS
> >> 64-bit) and would like to get clarification regarding to the
> >> following points:
> >>
> >> 1. Is there a Ubuntu (deb) package for default plugins and macros?
> >> Both paths listed in man page (under /usr/share/... and ~/.imageJ
> >> are practically empty.
> >> 2. I have copied some of my essential plugins directly from ImageJ
> >> website into the latter path and this seems to work fine. Will
> >> there be any stability or other issues with this? Should I be
> >> doing 'sudo cp' into /usr/share instead? I guess these will not be
> >> updated when I auto-update ImageJ - which could be a blessing for
> >> plugins such as Microscope_Scale.
> >> 3. How do I compile a modified plugin from the command line,
> >> preferably using the system installed jdk?
> >
> > you need to use Fiji (is just imageJ - batteries included)
> >
> > it s a distribution of imageJ that contains the stuff you need , as
> > you describe below.
> >
> > see
> >
> >
> >
http://pacific.mpi-cbg.de Fiji - is just ImageJ (Batteries Included)
>
> Thanks, Dan. I have had a quick look at Fiji. It seems to be a good
> package for life science work.
Not only life science.
> However, the only pointer to plugin compilation I found was to use the
> Compile and Run menu option.
There is also a Fiji Build system which allows defining dependencies
between multiple components.
> This works only when you install ImageJ along with a JRE.
You meant a JDK.
Fiji comes with a JRE, but includes javac specifically. So if you have a
plugin that consists of a single class (possibly including nested
classes), you can load it into the Script Editor and run it. Or you copy
the .java file into plugins/ and run it transparently, as if it was a
script.
> A couple of years ago there was a posting on this mail list giving a
> command-line syntax for compiling ImageJ on a windows OS computer.
It is easy:
javac -cp /path/to/ij.jar path/to/source.java
The more relevant question, though, is probably: what exactly do you want
to do? Yes, you said you want to compile via command-line. There is a good
possibility, though, that there is a better solution for your problem, if
only that problem is clearly stated.
Hth,
Johannes