java interface
- Subject: java interface
- From: Ted Kosan
- Date: Sat, 27 Sep 2008 19:35:25 -0400
Jim wrote:
>I wanted to know if there was an interface for maxima to be accessed by
>java programs. thank you
I use the following class to access Maxima from MathRider (which is a
Java-based mathematics computing environment http://mathrider.org):
https://mathrider.dev.java.net/source/browse/mathrider/trunk/src/plugins/maxima_plugin/src/org/mathrider/maximaplugin/MaximaWrapper.java?rev=709&view=log
Here is the small response listener class that goes with it:
https://mathrider.dev.java.net/source/browse/mathrider/trunk/src/plugins/maxima_plugin/src/org/mathrider/ResponseListener.java?rev=255&view=log
And here is an example of the MaximaWrapper class being used:
https://mathrider.dev.java.net/source/browse/mathrider/trunk/src/plugins/maxima_plugin/src/org/mathrider/maximaplugin/MaximaShell.java?rev=709&view=log
I have not enabled Maxima access in MathRider by default yet, but
MaximaWrapper should work okay outside of MathRider.
Hope this helps :-)
Ted