# Jython

> Java implementation of the Python interpreter

**Wikidata**: [Q1053999](https://www.wikidata.org/wiki/Q1053999)  
**Wikipedia**: [English](https://en.wikipedia.org/wiki/Jython)  
**Source**: https://4ort.xyz/entity/jython

## Summary
Jython is a Java-based implementation of the Python interpreter that enables Python code to run on the Java Virtual Machine (JVM). It allows seamless integration of Python and Java, combining Python's syntax with Java's ecosystem. As free software, Jython is distributed under the Python Software Foundation License.

## Key Facts
- **Inception**: First released on January 17, 2001.
- **Latest Version**: 2.7.2 (released March 21, 2020).
- **License**: Python Software Foundation License.
- **Platform**: Runs on the Java Virtual Machine (JVM); cross-platform compatibility.
- **Developers**: Key contributor includes Jim Baker.
- **Implementation**: Combines Python 2.7 syntax with Java interoperability.
- **Programming Paradigm**: Supports object-oriented programming.
- **Repository**: Hosted on GitHub (https://github.com/jython/jython/).

## FAQs
### Q: What is Jython used for?
A: Jython allows Python code to run on the JVM, enabling integration with Java libraries and frameworks. It is used for enterprise applications, scripting, and leveraging Python in Java-centric environments.

### Q: How is Jython different from standard Python?
A: Jython compiles Python code to Java bytecode, allowing it to run on the JVM. It supports Python 2.7 syntax but can interact directly with Java classes and libraries, unlike CPython.

### Q: Is Jython still actively maintained?
A: As of 2020, Jython 2.7.2 is the latest release, indicating ongoing maintenance, though development pace may differ from CPython.

## Why It Matters
Jython bridges the Python and Java ecosystems, offering a unique solution for developers who need to integrate Python’s flexibility with Java’s robust infrastructure. It enables Python scripts to utilize Java libraries and frameworks, making it valuable for enterprise environments reliant on Java. By running on the JVM, Jython ensures cross-platform compatibility and access to Java’s performance and tooling. This interoperability solves a key challenge for organizations invested in Java but seeking Python’s agility for scripting, data analysis, or rapid prototyping.

## Notable For
- **Java-Python Interoperability**: Directly accesses Java classes from Python code.
- **Cross-Platform JVM Deployment**: Runs on any system supporting the JVM.
- **Enterprise Integration**: Widely used in Java-centric enterprise settings for scripting and application development.
- **Python 2.7 Compatibility**: Implements Python 2.7 syntax, supporting legacy codebases.

## Body
### History
- **Initial Release**: Jython 2.0 debuted on January 17, 2001, under the name "JPython" (later renamed due to trademark concerns).
- **Key Milestones**: 
  - Version 2.1 (December 31, 2001) and 2.2 (August 22, 2007) expanded Java integration.
  - Version 2.5.0 (June 16, 2009) aligned with Python 2.5 features.
  - The 2.7.x series (2017–2020) remains the most recent, with 2.7.2 released in 2020.

### Technical Details
- **Runtime Environment**: Executed on the JVM, compiling Python code to Java bytecode.
- **License**: Free software under the Python Software Foundation License.
- **Platform Support**: Cross-platform via JVM, including Windows, Linux, and macOS.

### Versions
- **2.0 (2001-01-17)**: Initial release under the JPython name.
- **2.5.2 (2011-03-02)**: Enhanced stability and Java integration.
- **2.7.2 (2020-03-21)**: Latest stable release, incorporating security updates and bug fixes.

### Development
- **Source Code**: Hosted on GitHub (primary repository) and formerly on Mercurial.
- **Contributors**: Maintained by developers including Jim Baker, with community contributions.

## Schema Markup
```json
{
  "@context": "https://schema.org",
  "@type": "Software",
  "name": "Jython",
  "description": "Java implementation of the Python interpreter",
  "url": "https://www.jython.org/",
  "sameAs": [
    "https://www.wikidata.org/wiki/Q306159",
    "https://en.wikipedia.org/wiki/Jython"
  ],
  "version": "2.7.2",
  "license": "https://www.python.org/foundation/license/",
  "operatingSystem": "Cross-platform",
  "programmingLanguage": [
    "Java",
    "Python"
  ],
  "author": {
    "@type": "Person",
    "name": "Jim Baker"
  },
  "datePublished": "2001-01-17"
}

## References

1. [Source](https://github.com/JohnMarkOckerbloom/ftl/blob/master/data/wikimap)
2. [The jython Open Source Project on Open Hub: Languages Page. Open Hub](https://www.openhub.net/p/jython/analyses/latest/languages_summary)
3. [jython: dfc49bafbe79](https://hg.python.org/jython/rev/v2.7.2a1)
4. [jython: dd7e191d4c90](https://hg.python.org/jython/rev/v2.7.1)
5. [jython: 925a3cc3b49d. 2020](https://hg.python.org/jython/rev/v2.7.2)
6. [Release 2.0. 2001](https://github.com/jython/jython/releases/tag/v2.0)
7. [Release 2.1. 2001](https://github.com/jython/jython/releases/tag/v2.1)
8. [Release 2.2. 2007](https://github.com/jython/jython/releases/tag/v2.2)
9. [Release 2.2.1. 2007](https://github.com/jython/jython/releases/tag/v2.2.1)
10. [Release 2.5.0. 2009](https://github.com/jython/jython/releases/tag/v2.5.0)
11. [Release 2.5.1. 2009](https://github.com/jython/jython/releases/tag/v2.5.1)
12. [Release 2.5.2. 2011](https://github.com/jython/jython/releases/tag/v2.5.2)
13. [Release 2.5.3. 2012](https://github.com/jython/jython/releases/tag/v2.5.3)
14. [Release 2.7.0. 2015](https://github.com/jython/jython/releases/tag/v2.7.0)
15. [Release v2.7.3](https://github.com/jython/jython/releases/tag/v2.7.3)
16. [Release 2.7.4. 2024](https://github.com/jython/jython/releases/tag/v2.7.4)
17. Freebase Data Dumps. 2013
18. [Source](https://jython-devguide.readthedocs.io/en/latest/index.html)
19. [Source](https://github.com/jython/jython/commit/28c72a839ec090eb84bcb2fcae1a660771cc2e6b)
20. Quora
21. National Library of Israel Names and Subjects Authority File