Short answer is that you should run jconsole.exe rather than jconsole.cmd. This will preserve your cwd.
On Wed, Jan 27, 2021 at 9:56 PM Devon McCormick <[email protected]> wrote: > [All below on Windows 10] > In my investigation of how the jpath '~' gets set, I tried opening the > jconsole from within different directories. However, this proved difficult > because of the way the way J is set up to run the ../jconsole.cmd file from > the bin directory below it. > > This means I cannot add the J bin directory in my path and expect > "jconsole" on a command line to run from whatever directory I happen to > start it from. If I move the files from the bin directory up a level, I > can do this. > > I guess that jconsole.exe is set up to look for its necessary DLLs and such > relative to the directory in which the executable is found. Is there any > reason the 8 or so files under "J902" but above "bin" cannot be moved down > into "bin"? > > It's a minor point and I could do it myself but it seems > unnecessarily complicated the way it is. > > Thanks, > > Devon > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
