Luet oppimateriaalin englanninkielistä versiota. Mainitsit kuitenkin taustakyselyssä
osaavasi suomea. Siksi suosittelemme, että käytät suomenkielistä versiota, joka on
testatumpi ja hieman laajempi ja muutenkin mukava.
Suomenkielinen materiaali kyllä esittelee englanninkielisetkin termit. Myös
suomenkielisessä materiaalissa käytetään ohjelmaprojektien koodissa englanninkielisiä
nimiä kurssin alkupään johdantoesimerkkejä lukuunottamatta.
Voit vaihtaa kieltä A+:n valikon yläreunassa olevasta painikkeesta. Tai tästä:
As mentioned in Chapter 1.2, O1’s official programming environment is the Eclipse IDE
and its Scala IDE plugin, which are installed on Aalto IT’s Linux workstations.
If you want to use Eclipse and Scala IDE on your personal computer, you’ll first need
to install them. These tools are available for Windows, macOS, and Linux. The newer your
operating system, the less likely it is you’ll run into trouble installing the tools.
Version numbers matter
Any tools you use in O1 should be compatible with version 2.12.6 of the
Scala programming language. Officially, we use version 4.7 Oxygen of
Eclipse and version 4.7 of Scala IDE. You’ll also need a Java toolkit
(JDK); the recommended version is 8.
Follow the instructions below to install the appropriate versions. There’s a short
troubleshooting section at the end of the page.
Screenshots of installing Java. (The pics are for
Java 7, but installation of Java 8, which you need,
is essentially identical.)
On Windows or macOS:
On Ubuntu (Debian Linux), we recommend that you install Oracle’s Java environment,
which isn’t available among Ubuntu’s own packages. It’s not too complicated; what
you need to do is open a Terminal and enter these instructions:
You can then enter java -version to ensure that you have the correct version of
Download the Eclipse + Scala IDE bundle, version 4.7
for your operating system.
Install the IDE and its plugin simply by extracting the archive file you downloaded into
a folder of your choice:
Launch Eclipse by clicking eclipse.exe (in Windows) or the corresponding app file
within the eclipse folder. When prompted, pick some new folder as your O1 “workspace”:
this is the folder where you’ll store the programs that you write during O1.
About the preferences file
O1’s preferences file does things like adjust the visual formatting
of Scala code and introduce keyboard shortcuts that make it more
convenient to launch Scala programs.
If you know what you’re doing, you’re free to use other Eclipse
We strongly encourage you to import O1’s own preference settings, which suit the course
and generally make Eclipse more pleasant to work with. Here’s how:
Finally, you can make it easier to use Eclipse in the future by pinning
it to the task bar of your operating system so that you can launch it
“I launched Eclipse on Windows but just got a long error message.”
The probable cause is that you’ve installed a 64-bit version of
Scala IDE but have a 32-bit version of Scala, or the other way around.
Please use a modern 64-bit operating system and 64-bit versions of all
the required tools.
“I installed the right version of Java, but Eclipse still won’t run on my Mac.”
Your macOS version may be old. We recommend that you update it.
Java’s version 8 requires macOS version 10.8.3 (Mountain Lion) or newer.
Thousands of students have given feedback that has contributed to this ebook’s design.
Weeks 1 to 13 of the ebook, including the assignments and weekly bulletins, have been
written in Finnish and translated into English by Juha Sorva.
Weeks 14 to 20 are by Otto Seppälä. That part of the ebook isn’t available during the
fall term, but we’ll publish it when it’s time.
The appendices (glossary, Scala reference,
FAQ, etc.) are by Juha Sorva unless otherwise specified on the page.
The automatic assessment of the assignments has been programmed by Riku Autio, Jaakko
Kantojärvi, Teemu Lehtinen, Timi Seppälä, Teemu Sirkiä, and Aleksi Vartiainen.
The illustrations at the top of each chapter, and the similar drawings elsewhere in the
ebook, are the work of Christina Lassheikki.
The animations that detail the execution Scala programs have been designed by Juha Sorva and
Teemu Sirkiä. Teemu Sirkiä and Riku Autio have done the technical implementation, relying on
Teemu’s Jsvee and Kelmu
The other diagrams and interactive presentations in the ebook are by Juha Sorva.
The O1Library software
has been developed by Aleksi Lukkarinen and Juha Sorva. Several of its key components
are built upon Aleksi’s SMCL
The pedagogy of using tools from O1Library (such as Pic) for simple graphical programming
is inspired by the textbooks How to Design Programs by Flatt, Felleisen, Findler, and
Krishnamurthi and Picturing Programs by Stephen Bloch.
The course platform A+ has been created by
Aalto’s LeTech research group and is largely
developed by students. The current lead developer is Jaakko Kantojärvi; many other
students of computer science and information networks are also active on the project.
For O1’s current teaching staff, please see Chapter 1.1.
This page on Eclipse was written by Otto Seppälä and Teemu Sirkiä. It’s been edited and
translated by Juha Sorva.