Sorry,there is a bug in my origin post,jwd indeed set the current
directory to the J directory (/opt/j602-64 for my install) by the line
cd "`dirname "$0"`/..". I know now
jwd is a default launch icon,if I want to launch my j gui app,I should
create a new launch script,thank you.

2007/11/9, Eric Iverson <[EMAIL PROTECTED]>:
> jwd should set the current directory to the J directory (not the bin
> directory as you indicate). I will check and fix and thanks for the report.
> That jwd does this is in the spirit that launch icons in windows and mac
> (and in linux as well if you set one up) must set the the current working
> directory to something and the J directory is the only reasonable choice.
> This set is done by the launch icon and not J. If you invoke j.exe or j.jar
> directly from a program then the current working directory in J will be that
> of the calling environment.
>
> jconsole does not set the working directory as console programs often use
> the current working directory as an implicit argument. In windows the launch
> icon for jconsole does set it to the J directory because as an icon it has
> to set it to something.
>
> ----- Original Message -----
> From: "Xu Zuoqian" <[EMAIL PROTECTED]>
> To: "Beta forum" <[email protected]>
> Sent: Wednesday, November 07, 2007 10:20 PM
> Subject: [Jbeta] j602beta Linux64 version jwd 1!:43 '' problem
>
>
> > jwd of j602beta-Linux64 set current directory(read from 1!:43 '') to
> > its bin path,not the startup directory(shell pwd),this is different to
> > jconsole and the win32 version and cause my old scripts fail.Please
> > check it,thank you.
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to