At 12:25 +0100 2006/08/10, Greg Lewin wrote:
Hi,
I don't see this problem mentioned in any FAQ, but would be glad of any hint:
after installing J504 on OSX 10.4.7 Tiger, I find that any attempt
to run the Terminal application from the dock (or anywhere else),
ALWAYS runs jconsole, which usually is not what I want.
It seems as if the install of J has done some sort of initialisation
or configuration to some startup file, but it's not obvious where
this might be - it's not in .profile, .bash_login etc.
I can't find any clean way of removing this - simply moving the J504
directory to Trash, or renaming or moving it elsewhere, results in
any attempt to run Terminal aborting with a "no such file or
directory".
Is this a known problem?
Greg,
I'm guessing that the first screen in Terminal preferences
(CMD/apple ,) has the reference that is giving you trouble.
The installation of J doesn't set that, but perhaps it got
changed from the default which is -
o Execute the default login shell using /usr/bin/login
In general, I recommend that you install the beta j601, it
is very stable and will soon be a standard release - it is
a different installation process from j504, so be sure to
read the installation steps again.
If you aren't put off by Unixish, it is very convenient to
have something like (what I use) a /usr/local/bin that
contains a symbolic link to jconsole where ever you install
the j material (I install it in /usr/local/lib) Note that
/usr/local is a path that I added to the default OS X
installation -- it is convenient for multiple users. To
complete that "convenient modification" I add to /etc/bashrc
iMg5:~ jkt$ cat /etc/bashrc
# System-wide .bashrc file for interactive bash(1) shells.
if [ -n "$PS1" ]; then PS1='\h:\w \u\$ '; fi
# Make bash check it's window size after a process completes
shopt -s checkwinsize
if ! echo $PATH | /usr/bin/grep -q "/usr/local" ; then
PATH=$PATH:/usr/local/bin/
fi
# For J users in bash
JPATHj601="/usr/local/lib/j601/"
JPATHj504="/usr/local/lib/j504/"
export PATH JPATHj601 JPATHj504
----
As you can see, you can have access to different versions
conveniently by having different links from /usr/local/bin
I use Terminal/jconsole almost exclusively - but I have
also modified the J.app bundle so that it can be located
in /Applications (where I firmly believe it belongs!) The
changes are fairly minor, but this as rambled on too long
already. Hopefully at some point, jsoftware will install
j into the /Application directory. Meanwhile, I'm happy
to provide what additional information I can.
I hope you have success in finding your Terminal problem.
- joey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm