---
title: "Study Scala step by step -1"
author: "xiaoshao"
date: "2014-07-23T16:02:06Z"
tags: []
categories: ["编程语言"]
slug: "study-scala-step-by-step-1"
draft: false
lastmod: "2014-07-23T16:02:41Z"
id: 2095590
url: "https://xiaoshao.iteye.com/blog/2095590"
---

首先介绍一下Scala这个2003年新出现的语言，Scala通过不同的Scala编译器编译后，可以在JVM以及.Net两种环境中运行的语言。

 

# 搭建Scala开发环境

1.在Scala官网下载Scala（http://www.scala-lang.org/download/2.11.1.html）；

2\. 将下载到的Scala解压到一个空文件夹中。 

3.将%SCALA\_HOME%/bin添加到环境变量中。

4.测试开发环境。

    打开dos窗口，输入echo %path%，检查Path是否正确。

    输入Scala进入Scala开发环境， 输入1+1，查看是否正常运行。

至此Scala基本的学习环境就搭建好了，但是要进行开发还需要一个IDE环境。