On Tue, 16 Sep 2008, =?ISO-8859-1?Q?Zsb=E1n_Ambrus_ wrote: > On Tue, Sep 16, 2008 at 03:32, bill lam <[EMAIL PROTECTED]> wrote: > > Now J is the only program that require java runtime inside my computer > > and I would like to get rid of java. Suppose I only use jconsole and > > don't need functions provided by J IDE except pacman, project and > > debug available. Any idea how feasible that will be? > > You could write a library for J that uses another GUI widget kit. > There are basically three ways for this today. One is to use the > foreign call interface (15!:) to call stuff. Second is to write a > master program which is like j itself that it calls the j interpreter > library, runs a program, and answers window (11!:) requests in a new > way. (This used to be easier back when we had the j socket protocol. > In j602, you instead have to figure out how the library interface > works. The documentation and examples aren't really enough for this, > so you basically have to guess. I have figured out part of the > interface in the jep.c program in > http://www.math.bme.hu/~ambrus/pu/jevalbot.tgz, but there are some > assumptions I use, and I specifically couldn't figure out how J passes > you noun data, and you may need that to handle window requests.) The > third way is to do most of the work in a non-J program that handles > the gui and all stuff, but do the numerical calculations and whatever > J is the best for in a separate J program.
Thank you for insights. Look like solution is possible but non-trivial. Also I think that J never pass any structural noun data to session manager, or does session manager ever interested in what's inside J engine. So session manager only needs to implement JDo only, both JSetM or JGetM are not needed. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
