Skip to content

Instantly share code, notes, and snippets.

@RavenZZ
Last active November 15, 2016 02:04
Show Gist options
  • Select an option

  • Save RavenZZ/51e83b75252b7a12805d25d9109c15a0 to your computer and use it in GitHub Desktop.

Select an option

Save RavenZZ/51e83b75252b7a12805d25d9109c15a0 to your computer and use it in GitHub Desktop.
Ubuntu Scala

Ubuntu14.04下Scala开发环境搭建。

  1. 安装JDK,jdk-6u45-linux-x64.bin 将其安装到/usr/lib/jvm/jdk1.6.0_45/。
  2. 安装Scala,下载scala-2.11.4.tgz 将其解压到/usr/lib/jvm/scala-2.11.4/。
  3. 配置环境变量:
   vim /etc/profile
   
   #JAVA Environment
   JAVA_HOME=/usr/lib/jvm/jdk1.6.0_45
   #scala
   export SCALA_HOME=/usr/lib/jvm/scala-2.11.4
   export PATH=$SCALA_HOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
   source /etc/profile  
   scala 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment