Installing Jython

Installing Jython

Jython is the language that powers Oracle Data Integrator (ODI), it also is one of two options (Visual Basic (VB) is the other, it has been speculated the option for VB may disappear at some point in the future) for Financial Data Quality Management - Enterprise Edition (FDMEE). Jython is a implementation of the Python language for the Java JVM. Unfortunately Jython at this time does not have feature parity with Python and it seems unlikely that will change anytime soon. While this is important to remember it does not mean that Jython is limited. Jython is a mature language that has been developed over the course of 14+ years.

Why Jython

Jython is very powerful and is quite easy to work with since unlike Java and some other languages written for the JVM (Kotlin, Scala and Groovy) its interpreted instead of compiled. Being an interpreted language makes it perfectly suited for ODI and FDMEE, especially as a replacement for Visual Basic (VB). This allows the user to directly enter the code in the tool and have it run. No need to build complicated libraries or link dependencies in compilation. Jython also inherits many traits from Python the most important is dynamic typing which can shorten development time.

Download

Jython can be downloaded at http://www.jython.org/downloads.html. Personally I prefer to work with 2.7.0 but ODI comes with an earlier version (2.5.3 I think).
Jython Download

Install

Depending on how your environment is setup you may just be able to double click on the installer. Most people will most likely need to invoke the installer from the command line. Once the installer is initialized you will select the path to install Jython. I use to suggest installing into C:\Program Files\ but I have found that to make things more difficult at some client sites so these days I normally install to something like X:\Jython.
Jython Command Line Installer

Select the desired language.

Select Language

License agreement

Jython License Agreement

Installation Type

Jython Installation Type

Target Directory

Target Directory

Overview

Jython Installation Overview

Issues

Jython 2.7 is compatable with Java 1.7 and above. So if you run into this error when installing you will need to upgrade Java (Unsupported major.minor version 51.0).

Version Numbers

  • Java SE 9 = 53,
  • Java SE 8 = 52,
  • Java SE 7 = 51,
  • Java SE 6.0 = 50,
  • Java SE 5.0 = 49,
  • JDK 1.4 = 48,
  • JDK 1.3 = 47,
  • JDK 1.2 = 46,
  • JDK 1.1 = 45

Upgrade Java