Software Configuration on Ubuntu
In order to configure the software environment for Ubuntu, you need to take a few steps:
Step 1 – Run the console (keyboard shortcut: Ctrl + Alt + T) and make sure that you have permission to install programs on the computer.
Step 2 – Update the list of packages:
1 |
sudo apt-get update |
Step 3 – Check your version of Java. If you've already installed it, then you should see: "The program java can be found in the following packages":
1 |
java -version |
Step 4 – It's important to install JDK 8 (and not an older version):
1 |
sudo apt-get install oracle-java8-installer |
Step 5 – Check the version again and make sure that JDK 8 has been installed:
1 |
java -version |
You should see something like this:
1 2 3 4 5 |
openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14) OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode) |
And that’s it. We've just configured JDK on Ubuntu together!
The only remaining step is to install Eclipse or JetBrains IntelliJ IDEA.