Bill - I've had problems with jconsole in the past but abandoned my attempts
to figure them out when I started using "jee.exe" so I can have emacs as my
session manager but retain the ability to issue graphics commands.

What I've discovered may not help you as my configuration may have wandered
too far from the default one: I load my own config file from my own
directories; however, jconsole appears to load the default config file.
I've had trouble with this default file and jconsole because it defines
USERFOLDERS (starting) something like this:

USERFOLDERS=: 0 : 0
'Projects';'c:\program files\j602\user\projects';0
'System';'c:\program files\j602\system';0
...
)

This gives you a version of USERFOLDERS different from the usual one which
is two-columns of name-value pairs.  If you do this:

USERFOLDERS=: ".&><;._2 USERFOLDERS

you get something similar to the correct form though there is a third column
of enclosed zeroes.  It is possible that this is the result of some ancient
customization of my own but I don't know.

However, I have gotten jconsole to look like my other J sessions by adding

USERFOLDERS=: }:"1 ".&><;._2 USERFOLDERS

and the end of the default config file after the existing definition of
USERFOLDERS, then starting the console with a line like this:

"C:\Program Files\j602\bin\jconsole.exe" -js "load
'c:\amisc\JSys\user\config\startup.ijs' [ load 'C:\Documents and
Settings\Dev\j602-user\config\config.ijs'"

which loads the default config file and my own startup script; you may wish
to use the default versions of both of these or your own customizations.

Good luck,

Devon

2009/2/1 bill lam <[email protected]>

> Apparently jconsole does not load the file ~config/config.ijs on
> starting up. In particular global parameters and USERFOLDER are not
> set. Is this a bug?
>
> Does anyone have experience in using project manager in jconsole?  I
> don't need to see the project window, I just neet it to load project
> into memory and build the scripts?
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> 唐詩148 司空曙  喜外弟盧綸見宿
>    靜夜四無鄰  荒居舊業貧  雨中黃葉樹  燈下白頭人
>    以我獨沉久  愧君相訪頻  平生自有分  況是蔡家親
> ----------------------------------------------------------------------
> 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

Reply via email to