Revision 14 as of 2007-03-23 11:37:47

Clear message

Tools for scripting Java using Python

This page lists tools for Java/Python interoperatbility.

The purpose of this page is to provide:


Active Projects


[http://jepp.sourceforge.net/ Jepp] embeds CPython in Java. It is safe to use in a heavily threaded environment, it is quite fast and its stability is a main feature and goal.

[http://jpype.sourceforge.net/ JPype] is an effort to allow python programs full access to java class libraries. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both Virtual Machines.

[http://www.jython.org/Project/index.html Jython] (formerly: JPython) is a Python-to-Java bytecode compiler. It is written in Java. Most Python scripts should run with little or no modification on Jython. The exception is scripts that use Python extensions written in C. Some modules in the standard library may not be available in Jython.

["Laurent Pointal"] comments on these and a few other Java-related Python projects in a [http://www.limsi.fr/Individu/pointal/python.html#liens-intautlang-java page he maintains].


Discontinued Projects


[http://www.python.org/pypi/javaclass javaclass] is a project which attempts to import Java class files as Python modules by translating the structures and bytecode.

[http://jpe.sourceforge.net/ JPE] (Java-Python Extension) uses JNI to provide a bridging mechanism between Java and a Python interpreter (including use of C extensions for Python).

[http://www.ndim.edrc.cmu.edu/dougc/jpi/Home.html JPI] was a two-way Python-Java Interface.


Unable to edit the page? See the FrontPage for instructions.