Home http://www.python.org/
Download Documentation
Getting JPython
Home
License
Download
Installing
JVM Compatibility
 
Resources
Applet Demos
Mailing List
Bugs
JPython Users
 
Downloading
JVM platforms
Installation notes
License
JPython via CVS
 
Email Us
jpython@python.org
 
  

Download JPython

Developers note: The latest snapshopts of the JPython source code is now available via CVS!

Here are the steps you need to perform in order to download JPython. Once you've done this, you should read the installation instructions.

  1. Check that you have a working Java 1.1 or 1.2 compatible JVM installed

    If you already know that you have a JVM which is Java 1.1 or 1.2 compliant, go on to step 2. Otherwise, you should read this information on finding and installing an appropriate JVM for your platform.

  2. Download JPython

    Please use the following links to view and accept the licenses for JPython 1.1. Click the Accept button at the bottom of the license to proceed to the download (you may want to right-click on Accept to save the .class file to disk). Once you've downloaded the distribution, please return here for instructions on installing JPython.

    You now have two choices for JPython downloads; you can get JPython with or without the OROMatcher regular expression library. Read this explanation of the dual release rationale. Most people will want the JPython classball containing the OROMatcher library. Both classballs are less than 900KB.

  3. Download Python 1.5.2 Library (optional)

    JPython comes with support for a limited set of the standard Python modules. If you intend to do most of your work using Java packages, these limited modules should be adequate. However, there are a lot of useful modules provided with CPython.

    If you already have CPython 1.5.1 or 1.5.2 unstalled on your computer, you can use its library. If you don't have CPython installed, you can get just its libraries from here. There have been a number of small changes to these libraries between 1.5 and 1.5.2 to better work with JPython, so you should either get these libraries or upgrade to CPython 1.5.2.

    Download pylib152e.jar (262KB). Note that if you have a previous version of pylib152.jar, you don't strictly need to upgrade. pylib152e.jar simply contains the latest post-CPython 1.5.2 snapshot of the standard library. If your browser tries to read this file instead of downloading, try right-button clicking on the link, choosing "Save Link As..." from the menu.

    Install the standard Python libraries with the following command:

    jpython -jar pylib152e.jar

    Netscape Users: If JPython complains about a corrupt jar file, you should right click on this link instead, choose "Save Link As..." to save it to a file, and substitute pylib152e-jar.txt for pylib152e.jar in the command above. Near as I can tell, this corruption is caused by bugs in some versions of Netscape on Windows when downloading .jar files.

  4. Subscribe to the JPython mailing list (optional)

    The JPython-interest mailing list is used to discuss using JPython effectively, what features JPython needs, and to make announcements of new releases. The web page below will allow you to subscribe to the list. It will also let you view the past archives of the list. This mailing list is managed by Mailman.

  5. Send a short note telling us what you're doing/what you need (optional)

    We'd really like to hear what people are doing with JPython as well as what they'd like to do but can't because some feature is missing. You can drop us a note at jpython@python.org. Example comments:


    I'd love to build an amazing new FooBar with JPython, but I can't because it's too slow/doesn't support applets well enough/has a too restrictive license/needs to support the foo.py module/has too many bugs/doesn't have enough documentation/...

    I'm building an amazing FooBar with JPython by doing X, Y, and Z, and it is so easy in JPython that my boss thinks I'm a genius!

    We'd love it too, if you send a short blurb about yourself, your project, or your company, so we can add it to the JPython Users page.

  6. Join the PSA (optional)

    Show you support for Python and JPython by joining the Python Software Activity!