Login  Register

Re: AstroimageJ Toolbar is without eight specific icons

Posted by karenacollins on Aug 30, 2017; 6:50am
URL: http://astroimagej.170.s1.nabble.com/AstroimageJ-Toolbar-is-without-eight-specific-icons-tp794p795.html

Hi Oleh,

I see that John Kielkopf helped you, but outside the user forum, so I am adding that info here in case it is helpful to others.

Thanks John for helping Oleh!

From John:
Did you install the complete package from the server?  The updater is there.  I recommend putting it in /usr/local/, then adding a soft link from /usr/local/bin as described in the server.  To run the updater the user must own the directory under which AIJ is installed.  So, install it as root, then "chown -R yourname. user AstroImageJ"  from /usr/local will make that tree your own.

Of course you can install the software anywhere and this is just my preference, but if your machine is used by more than one user it makes sense to keep it with other software and only let one knowledgeable user have the rights to update it.

Response 2:
As root user, in a terminal

cd /usr/local/

chown -R you.user AstroImageJ
where "you.users" is your user and group on your system.  If you are "oleh", it would be "oleh.users".  

Also, in /usr/local/bin/ install this script file called "astroimagej" or if you prefer "aij" containing these lines:

#!/bin/sh
cd /usr/local/AstroImageJ/
java -Xmx32768m -jar /usr/local/AstroImageJ/ij.jar
exit

and as root user in /usr/local/bin/

chmod a+x aij

or chmod a+x astroimagej

This is the program you run.

Now again as a normal user without special privileges you run astroimagej by running this script.  It will then execute from within the directory where your software is installed and everything will work properly.

I suspect you may be trying to run  without the script, which won't do in Linux.

Once AIJ is started, go to the Help drop-down menu and you will see an option to run the updater.

From Oleh:
Ok!
Many thanks!

My problem is solved.