【问题标题】:sbt command not found找不到 sbt 命令
【发布时间】:2019-01-08 10:18:43
【问题描述】:

我正在我的 cloudera 发行版中安装 sbt。

  1. 我已经下载了sbt.0.13.15
  2. 将文件移动到 /usr/local
  3. 然后我更新了个人资料 须藤纳米配置文件 添加了 export PATH=$PATH:/usr/local/sbt/bin 保存文件并退出。
  4. 但是现在如果我发出“sbt about”命令,我会得到 sbt: command not found。

请您帮忙解决这个问题。

【问题讨论】:

    标签: scala sbt sbteclipse


    【解决方案1】:

    一些建议:

    • 检查您的 PATH 变量:echo $PATH
    • PATH 变量不会通过写入 .profile 自动更新,请打开新的 shell 或执行 source .profile
    • 文件名为 .profile,而不是 profile

    【讨论】:

      猜你喜欢
      • 2015-06-13
      • 2022-06-29
      • 2012-10-07
      • 2021-02-10
      • 1970-01-01
      相关资源
      最近更新 更多