![]() | Session 1 | ![]() |
Install Java and IntelliJ
In this course, we are going to use JDK and IntelliJ.
Useful link: Watch the video in youtube if you need the subtitles.
Step 1. Install Java development kit (JDK)
(If you already have JDK 8 or 9 installed, go directly to step 2.)
- Go to Java downloads webpage: here.
- Accept the licence.
- Select the most recent version of JDK “Java SE Development Kit 9.0.4” and a suitable version for your computer.
- Download and install:
- In Windows the installation proceeds similarly as installations of any Windows program. (If you have a 32-bit Windows, install JDK “Java SE Development Kit 8”).
- In Mac OS X 10.8+, the installation resembles installation of any dmg-package. If you need help, look here.
- In most Linux distibutions you get JDK directly from the packet management. In Debian based distributions (eg. in Ubuntu) it is enought to install the package openjdk-9-jdk which can be done in command line with the command
sudo apt install openjdk-9-jdk -yor by using the Synaptic Package Manager. In the case that your distribution does not provide a suitable JDK, you can do the installation by extracting the .tar.gz-file found on the Oracle page.
Useful link: How to Install JDK 9 (on Windows, Mac OS & Ubuntu)'''
Step 2. Install IntelliJ IDEA
There are many different editors that you can use to write your Java code. In this course, we will use IntelliJ IDEA - a Java integrated development environment for developing computer software.
Choose your operating system, download the Community version and install the program:
- Windows: the installation is done by opening the downloaded executable file.
- Mac OS X: the installation is done the same way as any .dmg package. Move the IDEA app inside the downloaded package to your Applications folder.
- Linux: the installation is done by executing the installation script via the command
./bin/idea.shin the directory where the file is located. The script can be executed only if it has been given right permissions eg. withcommand chmod +x bin/idea.sh.
Useful link: Check the hotkey combinations here.
![]() | Session 1 | ![]() |

