java-propose-classpath command not found

In this troubleshooting guide we learn how to fix java-propose-classpath command not found error message

Introduction

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

java-propose-classpath: command not found

or when using sudo you get the following error message

sudo: java-propose-classpath: command not found

Solutions to java-propose-classpath: command not found

How To Fix java-propose-classpath: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu java-propose-classpath is provided by java-propose-classpath package.

java-propose-classpath is:

java-propose-classpath analyzes a set of jar files and the installed jars on the system to suggest a correct classpath for use with jh_classpath/jh_manifest

This package should not be in any build-depends since java-propose-classpath cannot be run automatically.

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

sudo apt-get -y install java-propose-classpath

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

You can also use apt command to install java-propose-classpath.

sudo apt -y install java-propose-classpath

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

sudo aptitude install java-propose-classpath

Summary

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