Linux centos7 sbt安装配置

Linux sbt安装配置

1.sbt官网下载,xftp放到/opt/sbt

2.解压

3. cd sbt , vim sbt,编辑如下内容,保存退出。

4.授权:chmod u+x ./sbt

5.配置环境变量:

vi  /etc/profile:

添加:export PATH=/opt/sbt/sbt/:$PATH

6.更新配置文件:source /etc/profile

7. 版本:sbt sbtVersion

以上

linux编译项目代码,需设置一下三步:

1.  替换/opt/sbt/sbt/conf下的repo.properties
2.  替换/opt/sbt/sbt/binsbt-launch.jar
3.  替换/root/.ivy2cache目录

 

 

猜你喜欢

转载自www.cnblogs.com/frantz/p/11469969.html
今日推荐