jardiff command not found

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

Introduction

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

jardiff: command not found

or when using sudo you get the following error message

sudo: jardiff: command not found

Solutions to jardiff: command not found

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

In Ubuntu jardiff is provided by jardiff package.

jardiff is:

Jardiff is a tool to help visualise API differences between two different versions of a project.

Jardiff takes two jar files and outputs all the public API changes as xml, html or plain text.

It can be used from command line or via an Apache Ant task.

It requires Java >= 1.4 to run.

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

sudo apt-get -y install jardiff

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

You can also use apt command to install jardiff.

sudo apt -y install jardiff

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

sudo aptitude install jardiff

Summary

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