Pyspark Setup in local

Hi Team,

Following the Udemy course on setting up Python, Pyspark, I ran into an issue while trying to hit the command - pyspark in CMD home after setting up all the environment variables. Error mentioned below. Please provide any suggested fix.

py4j.protocol.Py4JJavaError: An error occurred while calling
: java.lang.NoClassDefFoundError: Could not initialize class$

Hello, I had the same issue. Were you able to fix?

Hello, Unfortunately no. Still trying to figure out what the issue is.

Hello, I managed to fix the problem by installing and using the jdk 8.