Functional Programming Principles in Scala

Functional Programming Principles in Scala(一)

Getting Started!

In order to work on the programming assignments, you need to have the following tools installed on your machine:

  • Oracle JDK, the Java Development Kit, version 1.8. Note some
    assignments may work with Java 1.7, but we grade the assignments with
    1.8, so we strongly recommend to use Java 1.8. Check you have the right version by typing in the console:

java -version

  • Scala Build Tool (sbt), a build tool for Scala, version 0.13.x, or
    newer.

  • The Scala IDE for Eclipse, Intellij IDEA or another IDE of your
    choice.

Please follow the instructions on this page carefully.

Installing the JDK

Windows

  • Download the JDK installer for Windows from the Oracle website
  • Run the installer.
  • Add the bin directory of the installed JDK to the PATH environment
    variable, as described here .

To verify the JDK installation, open the Command Prompt and type java -version . If you run into any problem, go to the official Oracle documentation

Installing sbt
Follow the instructions for your platform to get it running.

This course requires sbt version >0.13.x . If you have previously installed sbt 0.12.x, you need to uninstall it and install a newer version. sbt 0.13.x can be used for projects and other courses requiring sbt 0.12.x, but not the other way around. If in doubt, you can check your currently installed sbt like this: in an arbitrary directory that is not a programming assignment or otherwise an sbt project, run:

$ sbt about

You should see something like this:

This is sbt 1.1.0

If the sbt command is not found, you need to install sbt. In this case, go to the official instructions for your platform .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值