jython command not found

In this troubleshooting guide we learn how to fix jython command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

jython: command not found

or when using sudo you get the following error message

sudo: jython: command not found

Solutions to jython: command not found

How To Fix jython: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jython is provided by jython package.

jython is:

Jython is an implementation of the high-level, dynamic, object-oriented language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java.

Jython is complementary to Java and allows the two languages to be freely mixed. It is especially suited for embedded scripting, interactive experimentation and rapid application development, and it can interact with Java packages or with running Java applications.

To fix this problem, we can install more using the command below.

sudo apt-get -y install jython

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install jython.

sudo apt -y install jython

Or if you have aptitude installed you can use the following command.

sudo aptitude install jython

Summary

In this tutorial we learn how to fix jython command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.