Q: Java Path is not getting recognized in Hadoop So, I am trying to install Hadoop 3.3.0 on my Windows 10 system, and after successfully updating the binaries and setting the Environment paths properly, I am getting a not recognized as an internal or external command, operable program, or batch file. error while I try to run the HDFS.
A quick search of past questions here mentioned that it may be due to space in the environment path. But I believe that is not the case here.
I am attaching my environment paths for Java and Hadoop below along with the error that pops up.
HADOOP_HOME: C:\hadoop-3.3.0
JAVA_HOME: C:\Java\jdk1.8.0_271
Error as displayed in cmd:

C:\hadoop-3.3.0\sbin>start-dfs

'C:\Java\jdk1.8.0_271\bin\java -Xmx32m -classpath "C:\hadoop-3.3.0\etc\hadoop;C:\hadoop-3.3.0\share\hadoop\common;C:\hadoop-3.3.0\share\hadoop\common\lib\*;C:\hadoop-3.3.0\share\hadoop\common\*" org.apache.hadoop.util.PlatformName' is not recognized as an internal or external command,
operable program or batch file.


