Open In App

Jython – Introduction and Installation

It’s not hidden that Java is a powerful and Python is a simple and easy language. To get them both together, Jython was introduced so it is both powerful and simple. It is a pure Java implementation of Python. It uses Python’s syntax and Java’s environment. It allows using features of Python in Java environment or to import Java classes in Python codes and hence, is very flexible. Jython can run on almost any platform which provides flexibility in application deployment and it also provides many libraries with many more APIs.

It is really beneficial for those who create applications in Java and are new to Python. Python has three implementations:



Installation of Jython

Windows

Linux

To install Jython in Linux type the below command in the terminal.

sudo apt install jython

After typing this command provide your sudo password and that’s it. Linux will handle the rest. After installation, check whether Jython is installed correctly or not. See the below image for checking.

Article Tags :