The System cannot find the path specified – Apache Spark-Windows 10

  apache-spark, environment-variables, windows

I have installed java,scala,python,spark on windows 10
Placed winutils.exe file is in C:Hadoop
Below are the variables I have set up

User Variables

HADOOP_HOME  C:Hadoop
SCALA_HOME   C:Program Files (x86)scala
JAVA_HOME    C:Program FilesJavajdk-17
PYTHON_HOME   C:UsersrajesPycharmProjects21venvScripts
SPARK_HOME   C:Spark1spark-3.0.3-bin-hadoop2.7

User Variables – PATH Variable Has below values

C:Program Files (x86)scalabin
C:Program FilesJavajdk-17bin
C:UsersrajesPycharmProjects21venvScripts
C:Spark1spark-3.0.3-bin-hadoop2.7bin

SYSTEM VARIABLES

HADOOP_HOME C:Hadoop
SCALA_HOME   C:Program Files (x86)scala
JAVA_HOME   C:Program FilesJavajdk-17
PYTHON_HOME  C:UsersrajesPycharmProjects21venvScripts
SPARK_HOME  C:Spark1spark-3.0.3-bin-hadoop2.7

SYSTEM Variables – PATH Variable Has below values

%HADOOP_HOME%bin
%SCALA_HOME%bin
C:Program FilesJavajdk-17bin
%PYTHON_HOME%
%SPARK_HOME%bin

While i am trying to run spark-shell from command prompt "The system cannot find path specified is displayed"
Attached Screenshot .

enter image description here

Source: Windows Questions

LEAVE A COMMENT