> From: bill lam > > On Fri, 26 Jun 2009, Sherlock Ric wrote: > > I had a go at trying to get Apache to work on Windows without > > cygwin. > > > > I think one issue that may be causing problems is that Apache > > doesn't set the USERPROFILE environment variable in the session. The > > result is that during the starting of the J session the noun "home" > > in profile.ijs gets the value of 0 which causes a domain error at: > > user=. home,userx > > > > I checked the IIS USERPROFILE setting and patched my profile.ijs > > with the following to give a similar result for Apache: > > > When $USERPROFILE not available, you could try $HOMEDRIVE$HOMEPATH > > but $HOMEPATH might be different in cygwin. > 2!:5 'HOME' 0 2!:5 'HOMEDRIVE' 0 2!:5 'HOMEPATH' 0 2!:5 'USER' 0 2!:5 'USERPROFILE' 0
I don't think that it is all that important what to use, the biggest issue to highlight is that if you don't change bin/profile.ijs to handle USERPROFILE not being set then your .jhp script won't run successfully. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
