when i try to run spark-shell i am getting the following error:
/root/apache-spark/spark-2.3.0-bin-without-hadoop/bin/spark-class: line 71: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64/bin/java: No such file or directory
I have exported the java path: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/jre/bin/java
The above error is regarding java classpath. I need to export java classpath also. I want to know what is the default classpath for java openjdk version "1.8.0_232" on centos 7.