Skip to content
Branch: master
Find file Copy path
3 contributors

Users who have contributed to this file

@natural @smsaladi @iuliux
51 lines (30 sloc) 1.33 KB


New School

Kids these days have it easy:

# pip install java2python

Old School

Install ANTLR Runtime

We need the ANTLR Python runtime before we can install java2python:

# wget
# tar xfz antlr-3.1.3.tar.gz
# cd antlr-3.1.3/runtime/Python/
# python install

Install java2python

Now the goodness:

# wget
# tar xfz java2python-0.5.1.tar.gz
# cd java2python
# python install

Development Version

The latest source can be installed directly from github:

# pip install --upgrade

You'll want to clone or fork the repo to work on the project, however.


The runtime dependency for java2python is the Python runtime for ANTLR. The exact version number is very important: java2python requires version 3.1.3 of the Python runtime.

The development dependencies (what you need if you're coding java2python) are ANTLR, also version 3.1.3, GNU make, and a JVM.

You can’t perform that action at this time.