0

In the picture, it turned out that I can use python interpreter but not spark. I have no idea why. Please give me help. I'm totally lost. Here is the command window of zeppelin My code is just 1 + 1 , to test whether I can run different interpreter.

here is the bash window

Joey
  • 9
  • 2

1 Answers1

0

It seems, you have incompatible versions of Java and Scala or JAVA_HOME is not set.

Please go thru this related question, how to fix and about the issue

Failed to initialize compiler: object java.lang.Object in compiler mirror not found

Ranga Vure
  • 1,922
  • 3
  • 16
  • 23
  • How to change Java version – Joey Feb 20 '19 at 11:28
  • Thank you so much! I download the needed JDK 8 from the oracle and remove the previous version in my mac. And now I can run the scala code in zeppelin. – Joey Feb 20 '19 at 13:23