无法在mac上安装scala

时间:2017-08-01 15:37:45

标签: macos scala

我安装了brew并安装了java,然后尝试使用以下命令安装Scala。我收到了错误

brew cask install scala
Error: Cask 'scala' is unavailable: No Cask with this name exists. Did you mean one of:
scala-ide
Error: Install incomplete.

然后我尝试使用这个命令brew install Caskroom / cask / scala-ide。然后我安装了火花和SBT。现在的问题是我无法打开Scala。我可以打开火花,但不是斯卡拉。但Brew确认已安装Scala。

我尝试这个命令

brew install Caskroom/cask/scala-ide
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
getdns                                                                                                    
==> brew cask install Caskroom/cask/scala-ide 
Warning: Cask 'scala-ide' is already installed.

To re-install scala-ide, run:
brew cask reinstall scala-ide

如果已经安装了Scala,我该如何打开它。

0 个答案:

没有答案