Jython - Installation


Advertisements

Before installation of Jython 2.7, ensure that the system has JDK 7 or more installed. Jython is available in the form of an executable jar file. Download it from - http://www.jython.org/downloads.html and either double click on its icon or run the following command −

java -jar jython_installer-2.7.0.jar

An installation wizard will commence with which installation options have to be given. Here is the systematic installation procedure.

The first step in the wizard asks you to select the language.

Wizard

The second step prompts you to accept the licence agreement.

License Agreement

In the next step, choose the installation type. It is recommended to choose the Standard installation.

Installation Type

The next screen asks your confirmation about your options and proceeds to complete the installation.

Overview

The installation procedure might take some time to complete.

Installation in Process

After the installation is complete, invoke jython.exe from the bin directory inside the destination directory. Assuming that Jython is installed in C:\jython27, execute the following from the command line.

C:\jython27\bin\jython

A Python prompt (>>>) will appear, in front of which any Python statement or Python script can be executed.

Python Prompt
Advertisements