On 10/17/10, Deniz Akcal <denizakcal at hotmail.com> wrote:
>
> In the not so distant future, I would like to make a program that uses Java
> to implement physics simulations or something of the sort and maybe advanced
> computations so I was hoping I could make Maxima do the calculations and
> then return the value of a computation to my Java program so that I could
> display the output OR use it to do something. But I am hoping for a solution
> that is as easy as possible.
My advice is to use ABCL, a Common Lisp implementation in Java.
You can call Lisp from Java and/or Java from Lisp.
Maybe in your case it would be easiest to do all the computational
stuff in Lisp (including Maxima) and call some Java GUI library
to display stuff. That's just a guess.
(Another general approach is to run Maxima in a separate process
and talk to it through a socket. But that requires that your Java
program be able to parse and evaluate stuff that comes back from
Maxima.)
I think the ABCL mailing list is named armedbear-devel or
something like that. I think if you explain what you're trying
to do, someone on the list will be able to offer some useful advice.
best,
Robert Dodier