janinoc command not found

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

Introduction

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

janinoc: command not found

or when using sudo you get the following error message

sudo: janinoc: command not found

Solutions to janinoc: command not found

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

In Ubuntu janinoc is provided by janino package.

janino is:

Janino is a compiler that reads a Java expression, block, class body, source file or a set of source files, and generates Java bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or embedded code as with JSP.

This package contains the janinoc tool.

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

sudo apt-get -y install janino

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

You can also use apt command to install janino.

sudo apt -y install janino

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

sudo aptitude install janino

Summary

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