How to call Java from Python?

Dave Kuhlman dkuhlman at
Tue Jun 22 23:43:05 CEST 2004

Is JPE (the Python Java Extension) being used widely/actively?

I tried to build it (with Python 2.3.4, j2se 1.4 on Debian
GNU/Linux) and had quite a bit of trouble.  And, then, the samples
did not run.

Is there another way to call Java code from Python?

The JPE project does not seem too active lately, or is it?

I need it to run in the Python environment, not the Java
environment.  I want to be able to call Java methods from Python.
I don't believe that can be done with Jython, can it?  Aren't I
right that Jython runs in the Java environment and on Java VM?

For example, from within the Quixote Web framework, I want to be
able to create Java objects and call their methods.

Thanks in advance for pointers.


Dave Kuhlman

More information about the Python-list mailing list