JAVA_HOME is an operating system (OS) environment variable which can optionally be set after either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) is installed. The JAVA_HOME ...
Here are the three easiest ways to fix Java’s “not recognized as an internal or external command” error: Install or reinstall Java and the JDK on your computer Add Java’s bin directory to the computer ...
Well if you are on Red Hat, then you are probably a fan of RPMs... Surely all you have to do is install an rpm. (If you don't know how to do this, man rpm).