Using maxima in a Java program of mine



Another possiblity is to use jacomax:

https://www.wiki.ed.ac.uk/display/Physics/Jacomax

best,
ren?

Am 18.10.2010 um 08:03 schrieb Robert Dodier:

> 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
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima