At 17:22 -0500 2007/02/14, Terrence Brannon wrote:
I unpacked the intel version of J and dragged it into applications
(instructions said my home folder, but cant imagine that makes a
diff).
Unfortunately, it does make a difference. J, as distributed,
depends on finding its parts in your home directory... A warning
about this is included in the install.txt document .I agree that
it should work from the Applications directory... To do that you
can set an environment variable and things should work better.
You may need sudo to change your file /etc/bashrc to include
the following lines -
# For J users in bash
JPATHj601="/Applications/j601/"
export PATH JPATHj601
That will alert the Unix environment as to the whereabouts of J.
This assumes that you have /Applications/j601 -- I find it
convenient to drag the J.app file out of j601 into /Applications.
If you put a link to j601/jconsole in a place in your normal path,
(e.g. /usr/bin ) then that will invoke j nicely in a terminal window.
In my own case, to keep things closer to a Linux installation - I
create a /usr/local directory in OS X and then add a bin and lib
and put /usr/local/bin in my path (another environment change in
/etc/bashrc) just ahead of the JPATHj601 line, I have -
if ! echo $PATH | /usr/bin/grep -q "/usr/local" ; then
PATH=$PATH:/usr/local/bin/
fi
Which puts my local/bin in the terminal PATH variable.
Hope this helps.
- joey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm