This hit on Google looks helpful:
http://stackoverflow.com/questions/3652554/calling-java-from-python
I gave a talk at Boeing back in 2007 about Sage, and they use Java a
lot (or so someone told me), so I demoed one of the Python libraries
for linking the JVM (Java) with Python there. My expe
Short version: is there a way to get Sage to interface with a *Java*
program not via pexpect, but a library interface? (Perhaps Jython?)
See http://trac.sagemath.org/ticket/17902 for some background, in
particular http://trac.sagemath.org/ticket/17902#comment:7
"I have been reading over Chapt