Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Maxima and Java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writing a javascript client, with a to-be-determined-serverside
math application that interfaces with maxima the free math program. I'm considering using a java server
Has anyone ever written to maxima with java, and can you point
me to some resources? If directly calling functions from that lisp
program isn't exactly javas's cup of tea, do you think running through system command
lines, such as starting maxima...passing in "1+1;" and retrieving the
answer "2" would be a viable solution ??

Any insight would be extremely helpful, resources about connecting to
maxima via other computer languages is very limited. Also let me know if this topic should be posted somewhere else.

Thanks!!!

 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to our Open Source forum
 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi and welcome to Javaranch!

In short you're in for some potential difficulty. As you've surmised Maxima is not Java and therefore interacting with it has to be at the black box level (e.g. As you stated, firing off command line and reading the output.). Do have a quick look at JNI to see if that can help you in anyway and of course do ask this Q on the Maxima forums
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!