Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Java Interfaces for Python

JPype, py4j and PyJNIus are all good options for Java interface for Python. Jpype is easy to use and widely adopted. PyJNIus is an even easier solution compred to JPype. py4j is more complicated to use compared to JPype and PyJNIus, however, it has a better performance, generally speaking.

JPype

Please refer to Call Java Code Using Jpype from Python for details.

PyJNIus

Please refer to Call Java Using PyJNIus from Python for details.

py4j

References

Comments