> From: Murray Eisenberg > > 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?
JIDE sessions look for the path to the startup script in the noun STARTUP_j_ jconsole sessions look for the script ~config/startup_console.ijs. The buildpublic_j_ statement will add definitions to PUBLIC_j_. If you want to change USERFOLDERS_j_ that is separate. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
