java2html command not found

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

Introduction

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

java2html: command not found

or when using sudo you get the following error message

sudo: java2html: command not found

Solutions to java2html: command not found

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

In Ubuntu java2html is provided by java2html package.

java2html is:

java2html can highlight your source for presentation in the WWW. It can also be used as a CGI script and can detect whether the client browser supports compressed data to save bandwidth.

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

sudo apt-get -y install java2html

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

You can also use apt command to install java2html.

sudo apt -y install java2html

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

sudo aptitude install java2html

Summary

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