我在终端上写下这个命令来安装spark:brew install scala但是,一旦我输入spark-shellFailed to initialize compiler: object java.lang.Object in compiler mirror not found.
** Note that asFailed to initialize compiler: object java.lang.Object in compile
Caused by: java.lang.ClassCastException: java.lang.Short cannot be cast to java.math.BigDecimal at java.util.TreeMap.getEntry(TreeMap.java:352)
at java.util.TreeM
根据$java -version的说法:OpenJDK Runtime Environment (IcedTea 3.0.1) (SlackwareBit Server VM (build 25.91-b14, mixed mode)"No valid JRE installation found in [$JAVA_HOME] to match ARCH $ARCH or $[JAVA_HOME] not set