Linux compiles with javac error: bash: javac: command not found [How to Solve]

First, check whether Java is successfully installed

java -version

If the version information is displayed, the installation is successful. Just install the corresponding package

yum install java-1.8.0-openjdk-devel.x86_64

Similar Posts: