1. 配置路径

sudo gedit /etc/profile

2.在文件后面加入

export PATH=/home/sendi/scala-2.11.7/bin:$PATH

3.更新

source /etc/profile

4. 查看,输入scala -version

sendi@sendi-Aspire-E1-410G:~$ scala -version
Scala code runner version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL
sendi@sendi-Aspire-E1-410G:~$ scala
Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_67).
Type in expressions to have them evaluated.
Type :help for more information.

scala> 

 

相关文章:

  • 2021-09-06
  • 2021-12-05
  • 2021-05-29
  • 2021-06-02
  • 2021-11-29
猜你喜欢
  • 2022-12-23
  • 2021-11-24
  • 2021-10-31
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案