Skip to main content

Python wrapper for the Java Native Interface (ctypes/cffi-based javabridge)

Project description

Currently only as placeholder (because a base package jtypes.jvm is still in development)


Python wrapper for the Java Native Interface.


jtypes.javabridge is a bridge between Python and Java, allowing these to intercommunicate.
It is an effort to allow python programs full access to Java class libraries.

PyPI record.

jtypes.javabridge is a lightweight Python package, based on the ctypes or cffi library.
It is an almost fully compliant implementation of Lee Kamentsky’s and Vebjorn Ljosa’s Javabridge package by reimplementing whole its functionality in a clean Python instead of Cython and C.

About javabridge:

Borrowed from the original website:

The javabridge Python package makes it easy to start a Java virtual machine (JVM) from Python and interact with it. Python code can interact with the JVM using a low-level API or a more convenient high-level API.


  • Java Runtime (JRE) or Java Development Kit (JDK), and NumPy (not mandatory but highly recommended).



To install run:

python -m pip install --upgrade jtypes.javabridge

To ensure everything is running correctly you can run the tests using:

python -m jt.javabridge.tests


Visit development page

Installation from sources:

Clone the sources and run:

python -m pip install ./jtypes.javabridge

or on development mode:

python -m pip install --editable ./jtypes.javabridge


  • Development is strictly based on tox. To install it run:

    python -m pip install tox


Copyright (c) 2014-2018, Adam Karpierz

Licensed under the BSD license
Please refer to the accompanying LICENSE file.



1.0.18b3 (2018-11-08)

  • Update of the required setuptools version.
  • Minor setup and tests improvements.

1.0.18b1 (2018-10-01)

  • Synchro with javabridge master branch (v.1.0.18+).

1.0.17b2 (2018-05-29)

  • Synchro with javabridge master branch.
  • Bug fixes and improvements in Java 9 support.
  • Update of Mozilla Rhino.
  • Update of the required setuptools version.

1.0.14b4 (2018-02-26)

  • Improvement and simplification of setup and packaging.

1.0.14b3 (2018-01-29)

  • Development moved to github.
  • General improvements and update.

1.0.14b2 (2017-01-01)

  • Second beta release.
  • Version numbering in sync. with the original javabridge.

0.1.1a1 (2014-10-05)

  • Initial version.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (1.5 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page