doctorj command not found

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

Introduction

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

doctorj: command not found

or when using sudo you get the following error message

sudo: doctorj: command not found

Solutions to doctorj: command not found

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

In Ubuntu doctorj is provided by doctorj package.

doctorj is:

doctorj is an application to analyze Javadoc comments against Java code, verifying its integrity and format. It also spell-checks Javadoc comments.

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

sudo apt-get -y install doctorj

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

You can also use apt command to install doctorj.

sudo apt -y install doctorj

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

sudo aptitude install doctorj

Summary

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