doclava command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
doclava: command not found
or when using sudo you get the following error message
sudo: doclava: command not found
Solutions to doclava: command not found
How To Fix doclava: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu doclava is provided by doclava-aosp package.
doclava-aosp is:
Key differences between Doclava and the standard doclet include:
- Refreshed look and feel, including search capabilities
- Embeds versioning information in the documentation
- Uses a templating engine for user customizations
- Throw build errors for things that can easily be caught, like @param tags that don’t match the parameter names.
- Ability to include snippets of code from real source code
- Federate documentation between multiple sites
- Ability to embed javadocs in a larger web page.
This package is a fork of Doclava by The Android Open Source Project with special features for generating the source files of the Android platform framework API stubs “android.jar”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install doclava-aosp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install doclava-aosp.
sudo apt -y install doclava-aosp
Or if you have aptitude installed you can use the following command.
sudo aptitude install doclava-aosp
Summary
In this tutorial we learn how to fix doclava command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.