This section applies if you installed Jim on an Apple Mac computer. It describes how to tailor the installation if the programme will not start, if you wish to improve the performance of Jim, or if you want to run Jim's stand-alone tools in batch (text-only) mode.
The install folder for Jim 9 is
/Applications/Xinapse/Jim9
. Open a terminal window and change
directory to the install folder:
cd /Applications/Xinapse/Jim9
In the installation folder you'll find various application folders, such as
the one for the main Jim application (Jim9.app
).
There is one application folder for each the applications in the Jim
suite.
To customise the behaviour of one particular application, for
example Jim9, change directory into the
application's Contents/Resources
folder:
cd Jim9.app/Contents/Resources
In that folder you will find a file called (in this case) Jim9.sh
, which is a shell
script used to launch Jim. You can edit that file using your favourite text editor. Inside
the Jim9.sh
script file you'll see various comments that allow you to customise the
behavior. For example
You may wish to change this line, for example:
# Set the maximum amount of heap memory that the program will ever consume as a percentage
# of the installed RAM.
# If the program gives messages about not having enough memory to load an image, then increase
# this value. To conserve memory, reduce it. It must be a number between 0 and 100.
MAX_MEM_RAM_PERCENTAGE=75
MAX_MEM_RAM_PERCENTAGE=75
allows Jim to use
up to 75% of the installed memory. You can increase this number if you find that
Jim runs out of memory, or reduce it to reduce the amount of memory
used byJim.
You can customise each of Jim's stand-alone tools in exactly the same way above, to tailor the amount of memory used, etc. Do this by editing the appropriate shell script file for the tool.
Unix
, which
contains shell scripts that allow you to run tools either in graphical (GUI) mode or in text-only
(batch) mode. Make the scripts executable, and copy them all to /usr/local/bin
using the following commands:
cd /Applications/Xinapse/Jim9/Unix
sudo chmod 755 *
sudo cp * /usr/local/bin
One of these scripts (called RunTool
) is a master script that contains comments
and instructions on how to change certain settings for Jim and the stand-alone tools.
Open the script RunTool
(in the folder /usr/local/bin
) using your
favourite text editor, and customise it using the instructions written in the script.