japize command not found

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

Introduction

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

japize: command not found

or when using sudo you get the following error message

sudo: japize: command not found

Solutions to japize: command not found

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

In Ubuntu japize is provided by japitools package.

japitools is:

It consists of two simple tools designed to test for compatibility between Java APIs. They were originally designed for testing free implementations of Java itself for compatibility with Sun’s JDK, but they can also be used for testing backward compatibility between versions of any API.

The tools are japize and japicompat. Japize is a Java program which emits a listing of an API in a machine-readable format. Japicompat then takes two such listings and compares them for binary compatibility, as defined by Sun in the Java Language Specification.

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

sudo apt-get -y install japitools

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

You can also use apt command to install japitools.

sudo apt -y install japitools

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

sudo aptitude install japitools

Summary

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