GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java2python/doc/install.md at master · Virtual0ps/java2python

Expand file tree

/

install.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
50 lines (30 loc) · 1.33 KB
/

install.md

Copy path

File metadata and controls

50 lines (30 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Installation

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 http://www.antlr3.org/download/antlr-3.1.3.tar.gz
# tar xfz antlr-3.1.3.tar.gz
# cd antlr-3.1.3/runtime/Python/
# python setup.py install

Install java2python

Now the goodness:

# wget https://github.com/downloads/natural/java2python/java2python-0.5.1.tar.gz
# tar xfz java2python-0.5.1.tar.gz
# cd java2python
# python setup.py install

Development Version

The latest source can be installed directly from github:

# pip install --upgrade https://github.com/natural/java2python/zipball/master

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

Dependencies

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 are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.