Murray -
I think my set-up is similar to what you want: I installed with the
"system" option - under "C:\Program Files" (a convention I dislike intensely
but follow anyway) - but retain my own code where I've always kept it.
I do this using two "standard" mechanisms:
1) In my startup.ijs, I add my own entries to the PUBLIC_j_ global so I can
load commonly-used scripts using a single word, and
2) I define my "User" (note the capital "U") folder to point to where I
keep my stuff and use "~User" everywhere I refer to it.
In the past, I've had my environment overly customized and am trying to get
away from that so I can send other people standalone scripts that work
without a special set-up of J.
Another long-term "covert customization" on which I'm working is to submit
code I find useful to Jsoftware so that they may include it in future
releases. Much of the work here is weeding out functions I've written which
duplicate standard ones in order to minimize the custom code I need to
include.
This latest release went pretty smoothly for me and I've been able to
(mostly) get rid of my customized "jprofile", so I consider this a success.
Good luck,
Devon
On 3/19/08, Murray Eisenberg <[EMAIL PROTECTED]> wrote:
>
> The J602 installer for Windows offers three choices none of which is
> what I want: I want to install for all users, but NOT in c:\Program
> Files. The best I could do was to install as a single user and to
> select the program installation directory I wanted,
> D:\Language\j602\bin\j.exe.
>
> But I do NOT want to keep any user files in
>
> C:\[user]\j602-user
>
> but rather inside the the single Juser directory that I want to specify,
> just like I always have before (with recent releases) by means of
> suitable configuration files include a profile.ijs -- see below.
>
> I note that the installer did create C:\[user]\j602-user but except for
> 4 empty subdirectories, that directory is completely empty.
>
> The J program shortcut I use has target
>
> D:\Language\j602\bin\j.exe -jprofile
> d:\language\Juser\config6\myprofile.ijs
>
> and starts in the installation directory, d:\language\j602.
>
> The myprofile.ijs referred to above includes:
>
> NB. create SYSTEMFOLDERS
> NB. the entry for binary is added in boot.ijs
> sep=. PATHSEP_j_
> prf=. PROFILE {.~ PROFILE i: sep
> add=. 'd:\language\Jaddons'
> sys=. prf,sep,'system'
> tmp=. 2!:5'JHOME'
> usr=. 'd:\language\Juser'
> cfg=. 'd:\language\Juser\config6'
> hlp=. sys,sep,'extras',sep,'help'
> hom=. (0&e. { ;&prf) 2!:5 'JHOME'
> ids=. ;: 'profile system addons temp user config help home'
> SYSTEMFOLDERS_j_=: ids ,. prf;sys;add;tmp;usr;cfg;hlp;hom
>
> And the version of startup.ijs in that same d:\language\Juser\config6
> includes:
>
> NB. Provide global for environment var JHOME
> HOME_z_=: (2!:5'JHOME'),'\'
> TEMP_j_=: (2!:5'JHOME')
>
> This startup.ijs is what referred to in the entry
>
> STARTUP=: 'd:\language\Juser\config6\startup.ijs'
>
> in d:\language\Juser\config6\config.ijs.
>
> When I try to start the program using the shortcut as modified, I get
> error message: "Error and no IDE window for debugging.
>
> What's wrong and how can it be fixed?
>
> --
>
> 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
>
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm