mpijavac command not found

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

Introduction

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

mpijavac: command not found

or when using sudo you get the following error message

sudo: mpijavac: command not found

Solutions to mpijavac: command not found

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

In Ubuntu mpijavac is provided by openmpi-bin package.

openmpi-bin is:

Open MPI is a project combining technologies and resources from several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best MPI library available. A completely new MPI-3.1 compliant implementation, Open MPI offers advantages for system and software vendors, application developers and computer science researchers.

Features:

  • Full MPI-3.1 standards conformance
  • Thread safety and concurrency
  • Dynamic process spawning
  • High performance on all platforms
  • Reliable and fast job management
  • Network and process fault tolerance
  • Support network heterogeneity
  • Single library supports all networks
  • Run-time instrumentation
  • Many job schedulers supported
  • Internationalized error messages
  • Component-based design, documented APIs

This package contains the Open MPI utility programs.

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

sudo apt-get -y install openmpi-bin

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

You can also use apt command to install openmpi-bin.

sudo apt -y install openmpi-bin

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

sudo aptitude install openmpi-bin

Summary

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