Getting the tools to create a Scala Project


This post is going to be a pretty small one that talks you through one possible way of getting all you need to start experimenting with Scala.

There are obviously other ways, but this is the toolset I personally have found to be quite useful.

So what are the bits and bobs you need to get working with Scala. Well there are really only 2 things you absolutely must have, these are


You MUST have a version of java installed. I would recommend the latest version which you can grab from this site :

Obviously grab the one that suits your requirements


You will also need Scala, I would recommend you use the latest version of that too. You can grab that from this site:

That is actually strictly all you need to create a Scala program, but we have all probably come from places where we use an Integrated Development Environment (IDE), so let’s grab on of those too.


However just before we grab the IDE, let’s make our lives easier and grab a copy of SBT (a nice build tool). You can grab this from this page:

We will make use of SBT in future posts, but for now we just want to make sure we have downloaded a copy of it


There are numerous IDEs out there, I happen to like IntelliJ as it comes with a nice free community edition and is a fairly nice IDE (I still think its way behind Visual Studio though).

You can grab IntelliJ from here:


With all that in place you should now be able to create a new project in IntelliJ which should target Scala + SBT

Something like this




On this screen I would recommend that you tick the box “Use Auto Import”, which allows SBT to auto import packages you have requested.

After you have finished this wizard, SBT will do a bit of work, this will take a little while even for a brand new project. Let it do its magic (you will need internet connection), and then you should be left with a project structure something like this:


You would then place code in the Scala folder that matches the version you chose to target. For example for this project I chose to use Scala 2.11, so that is what folder I would add my new Scala code files too in the the IntelliJ project.

Anyway that is all I wanted to say for now. We will continue our journey in subsequent posts.


2 thoughts on “Getting the tools to create a Scala Project

  1. I’ve been working in Scala for the past year on Akka & Spark projects – I highly recommend the following resources:
    the Scala Cookbook
    ScalaZ for advanced functional programming
    QuasiQuotes for advanced metaprogramming
    advice: skill up on SBT

    1. Thanks for that Josh, yes we are using Spark,Cassandra, and are using ScalaZ too, as well as Zookeeper. We have a team of people that have used it a lot before, I am just trying to bring myself up to speed with it all. Spark is great, as is Cassandra. Scala is a little different, but I am enjoying the journey.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s