爱嘉牛LA

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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> 

 

posted on 2015-07-29 16:30  爱嘉牛LA  阅读(297)  评论(0编辑  收藏  举报