On 10/19/07, Udalov.Sergei at Gmail.com <udalov.sergei at gmail.com> wrote:
> What ways exists to connect java with maxima? I think calling batch
> files from commind line isn't a nice solution, because of multiple
> maxima excecutions (in my program i have to make lot of them).
A couple of ideas -- (1) search the mailing list archive
(see http://maxima.sourceforge.net/maximalist.html)
for mentions of Java and see what ideas were floated when
this topic came up (as it has several times), and maybe
consider contacting some of the people who were asking
about Java + Maxima to see if they got something working.
(2) There is a file share/contrib/maxima-server.lisp which implements
a very simple-minded Maxima server via POSIX functions listen,
accept, and fork; calling fork is typically faster than restarting the
program entirely. At present it works for SBCL only. I tested it on
Linux; it might work on Windows, if the POSIX stuff in SBCL works.
You would have to ask the SBCL developers about that.
HTH
Robert Dodier