...
sudo apt-get install default-jdk
If you have another version of java installed, please make sure that java 1.8 is set to be the version you are using. Execute
sudo update-alternatives --config java
The result should look something like this:
Choose java 8 by entering the corresponding selection number.
MySQL
You must know your MySQL root password or have a database ready with a username and password. To check if you have MySQL installed, simply type mysql into the Terminal. If you don’t have it installed use the command:
...