Posted by
Fred Damen on
Jun 22, 2020; 5:52pm
URL: http://imagej.273.s1.nabble.com/Compiling-directories-and-jar-files-rules-tp5023539p5023566.html
Greetings Gabriel,
My concern is not with how I have to deal with the plugin/library, the
concern is with someone else who grabs the plugin from
https://imagej.net/Gnu_Plot and then tries to write a plugin of their own
Java plugin that uses its public methods. When they have trouble
accomplishing this I then have to spend time trying to fix things.
When ImageJ is installed from the package manager on Fedora the user's
.imagej/plugins/jars directory is softlink(ed) to
/usr/share/imagej/plugins/jars, which is a admin controlled directory.
I am not trying to pass blame or necessarily request any changes. The
problem I face is, what to put in the INSTALL section of
https://imagej.net/Gnu_Plot that causes me the least headaches going
forward. I usually find it easier to follow the way it is supposed to
work, and thus the question. I was trying to avoid just dumping
everything directly into the plugins directory, but it is looking like
that may be the easiest solution.
Thanks again for the response,
Fred
On Sat, June 20, 2020 5:50 am, Gabriel Landini wrote:
> On Saturday, 20 June 2020 05:36:23 BST you wrote:
>> Putting the underscored JAR file in the plugins/jars directory will be
>> more annoyance then it is worth, as on Fedora and possibly other Linux
>> distributions, the plugins/jars directory is softlink(ed) to system
>> directories.
>
> I do not know the answer to your other questions, but the above is not the
> case in Ubuntu or Opensuse. I have ImageJ installed it in the folder I
> want in
> my home directory. Just unpacked the installation download from the IJ
> site.
>
> But perhaps I did not understand the problem. Is it that you do not have
> write
> access to that soft-linked folder?
> I doubt that it is IJ's fault, but the logic followed by the Fedora
> installer.
> If you are not supposed to have write access to a system folder for
> security
> reasons, why would you expect to be able to write to it as a user? Isn't
> that
> restricted to the administrator? If you are the administrator, can't you
> grant
> yourself write access?
>
>> It would be easier to just unpack the ZIP file into the
>> plugins directory;
>
> That is how I do it in linux.
>
> Cheers
>
> Gabriel
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html