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

前端 未结 8 1991
走了就别回头了
走了就别回头了 2020-12-05 22:36

On Ubuntu 16.04, I installed scala:

$ls ~/Binary/scala-2.11.8
bin  doc  lib  man
$grep -A 2 SCALA ~/.bashrc
SCALA=~/Binary/scala-2.11.8
SBT=~/Bi         


        
8条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 23:11

    Installing Java 8 resolved this issue.

    I downloaded java 8 and i extracted that to the following location : /usr/lib/jvm/jdk1.8.0_172

    After doing this update the JAVA_HOME path to the same : /usr/lib/jvm/jdk1.8.0_172

    This will resolve the issue.

提交回复
热议问题