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.
Asked
Active
Viewed 127 times
0
-
oh sorry, I'll delete it and reask. – Joey Feb 20 '19 at 10:47
-
1Thanks for your advice. I'm a newbie in programming world☺️ – Joey Feb 20 '19 at 10:56
1 Answers
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
-
-
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