If I start J701 from the icon supplied by the installation, which executes

   D:\Language\J701\bin\jconsole.exe

and then open the browser jijx window, behavior is as expected.

If, however, I use a shortcut as you suggested to automate opening the 
jconsole and the browser jijx window -- in my situation, with

   D:\Language\J701\bin\jconsole.exe -js BROWSER_j_=:'' "load 
'~system/extras/util/browser.ijs'" "launch_jbrowser_ 
'http://127.0.0.1:1500/jijx'" "jhs 1500"

(all on one line), then I don't get the expected values in 
USERFOLDERS_j_ after startup, which means I cannot load scripts by 
abbreviated names.

Here's the configuration...

1. I copied profilex_template.ijs to  ~bin/profilex.ij.
    In that I hard-coded some directories there:

    home=. 'D:\Language\Juser'
    user=. 'D:\Language\Juser'
    temp=. 'E:\JTemp'
    config=. user,'\config701'

2. In the so-targeted config directory, I created startup.ijs which 
contains:

    buildpublic_j_ 0 : 0
    help      ~user\newhelp
    ws        ~user\ws
    myutil    ~user\myutil
    )

So how should I change that shortcut for the jconsole + jbrowser combo 
so as to make sure my startup.ijs is being read?

Is the icon's command as now given bypassing that part of the normal 
startup process?

-- 
Murray Eisenberg                     [email protected]
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to