install.txt for says

   If you move j601 you need to set/export JPATHj601 to
   be the path to profile.ijs.

   You also need to edit the jw script. As distributed,
   jw has ~/j601/j.jar and you need to edit it to use
   $JPATHj601.

The jw script is:

#!/bin/sh
java -jar ~/j601/j.jar $*

I think it should be:

#!/bin/sh
java -jar ${JPATHj601-~/j601/j.jar) "$@"

This way:

(a) there's no need to edit the script when JPATHj601
is defined.

(b) arguments containing whitespace will be 
propagated properly.

-- 
Raul


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to