Download as pdf or txt
Download as pdf or txt
You are on page 1of 89

Software Installation guide for the

Windows environment

Java from scratch

Get ready before the classes☺


Computer specification – Java for beginners

✔ min. 8 GB RAM,
✔ recommended processor Intel i5 lub Amd10,
✔ min. 8GB free disc space
✔ System min. Windows 7.
List of programs for the Java from Scratch course - to download at home BEFORE
THE CLASSES

Before the course start, please remember to install Java JDK8 and 2 versions of IntelliJ IDEA: Community
and Ultimate. At first, only Community will be used.
However, with IntelliJ IDEA Ultimate, please until the JSP and Servlet technology classes will start. From
that moment you will use intelliJ and also get the free access for 6 month.

Other programs should be downloaded and installed before classes to be able to start the activity.
List of programs and tools used during the Java from Scratch

Please download and install the following programs at home before the classes!
✔ Slack communicator - https://slack.com/get
✔ Java JDK8 - installation guide(slide 6)

✔ IntelliJ IDEA - installation guide(slide 21)


✔ Git - installation guide(slide 33)
✔ maven
Download: : https://maven.apache.org/download.cgi
Installation: https://maven.apache.org/install.html

✔ MySQL- installation guide(slide 51)

✔ MongoDB - installation guide(slide 78)

✔ Total Commander
Download and install: https://www.ghisler.com/download.htm
JDK – Java Development Kit
JDK

1. Start your Internet browser


2. Go to www.oracle.com/java and
click Download Java for Developers
3. On the next page, find the Java SE 8
section and press the Download
button marked with the JDK label
JDK

1. Accept the license


(button Accept License Agreement)

2. Indicate the installation file for your


operating system (for example Windows
x64)

3. It may take a few minutes to


download the file. Wait for it to
finish
JDK

Go to the directory where you saved


the file and open it
JDK

The installation program will start


Go to the next step by pressing the
Next button
JDK

On the component selection screen,


leave the default settings (all
components will be installed)
Go to the next step by pressing the
Next button
JDK

Select the directory in which you want


to install JDK (you can leave the
default values)
JDK

Wait for the installation to be


completed
JDK

To verify that Java has been


successfully installed, right-click on the
Start menu icon and select Run
JDK

1. In the window that opens, enter the


phrase cmd.exe and press OK
2. The command line window will be
opened
3. Enter the java -version command
and confirm with Enter
4. If the JDK installation has been
completed successfully, you should
see information about the installed
version
JDK

To set the JAVA_HOME environment


variable click on the magnifier icon and
start writing the phrase Edit system
environment variables. Right-click on
the found position
JDK

Left-click on the Environment


variables button
JDK

In the System variables section,


left-click on the New button
JDK
1. In the New system variable window,
in the Variable field, enter
JAVA_HOME
2. In the Value field indicate the
location of the installed JDK
3. Confirm with the OK button
JDK

To verify that the variable has been set


correctly, type echo %JAVA_HOME%
on the command line and confirm with
Enter. If the environment variable has
been set correctly, you should see the
path to JDK
IntelliJ IDEA
IntelliJ IDEA
1. Start your Internet browser
2. Go to www.jetbrains.com/idea
and click Download
3. Click again Download on the
following screen below Community
label
4. File download will begin
IntelliJ IDEA

Go to the download directory and


open the file
IntelliJ IDEA

Installation program will run. Go to the


next step by clicking Next button
IntelliJ IDEA

Choose destination folder where


IntelliJ Idea will be installed (you can
leave default folder)
IntelliJ IDEA

Select these options if you want to


create desktop icon or to associate
files with Idea. Click on Next button
IntelliJ IDEA

Wait a moment for installation to be


completed
IntelliJ IDEA

Complete the installation process by


clicking Finish button
IntelliJ IDEA

If you have configuration file from


previous installations, you can set it
here.
In most cases the second option will
be better:
Do not import settings
IntelliJ IDEA

Accept the license and set color


scheme on the following steps. Leave
default values on this screen
IntelliJ IDEA

On Featured plugins screen you can


install IDE Features Trainer which is
very helpful to learn IntelliJ IDEA
IntelliJ IDEA

Congratulations! IntelliJ IDEA is ready


for work!
GIT
Git

1. Start your Internet browser


2. Go to
https://git-scm.com
3. Press Download for Windows
Git

Wait until download is completed


Git

Go to the download directory open the


file
Git

Press Next button after you read the


license
Git

Set the installation directory. You can


leave default value
Git

Choose components that should be


installed. You can leave default values
Git

Enter Start Menu shortcut name. You


can leave default value. Click Next
button
Git

Choose the default editor used by Git.


You can leave default value (Vim)
Git

Adjust your PATH environment variable


by choosing second option
Git

Choose OpenSSL on this screen


Git

Configure the line ending conversions


by choosing Checkout Windows-style,
commit Unix-style line endings
Git

Choose MinTTY as default terminal


Git

You can leave default values on this


screen
Git

Leave unchecked all experimental


features
Git

Wait a moment until installation is


complete
Git

Congratulations! Git is ready to work!


Git

You can verify you installation by


executing this command
git --version
MySQL
MySQL

1. Start your Internet browser


2. Go to
https://www.mysql.com
3. Press Downloads button
MySQL

Choose Community (GPL) Downloads


MySQL

Press Download button on full MSI


Installer (second position)
MySQL

On the following screen you can choose


to create an account or log in. If you do
not want to enter any data, click on No
thanks, just start my download.
Download will begin
MySQL

Go to the download directory and open


the file
MySQL

Accept the license and click on Next


button
MySQL

You can choose installation type on this


screen. Choose Custom i and press Next
MySQL
Choose following elements to install:
• MySQL Server
• MySQL Workbench
• MySQL Shell
• Connector/J
Optionally you can choose MySQL
Documentation and Samples and
Examples. Confirm by clicking on Next
button
MySQL

On Check Requirements screen you’ll


see additional components that have to
be installed. Click Execute to install
MySQL

Click Next button when the installation


is finished
MySQL

Click on Execute button to install


MySQL components
MySQL

Wait a moment for installation to be


completed and press Next
MySQL

On Group Replication screen check


Standalone MySQL Server option and
press Next button
MySQL

On Type and Networking screen leave


default values and click on Next button
MySQL

On Authentication Method leave


recommended option checked
MySQL

On Account and Roles screen set a


password for root user. Don’t forget
this password
MySQL

On Windows Service screen leave


default values
MySQL

Wait a moment, configuration will be


saved
MySQL

Click on Finish button


MySQL

Click on Next button


MySQL

Enter root password you set on


previous screen and click on Check
buton
MySQL

If you entered the correct data, the


Next button will be activated
MySQL

Press Execute to finish configuration


process
MySQL

Press Next on the following screen


MySQL

Congratulations! You can now start


work with MySQL database!
MySQL

You should see this screen if you left


checked Start MySQL Workbench after
Setup on previous screen
MongoDB
MongoDB
1. Start your Internet browser
2. Go to
https://www.mongodb.com
3. Press Get MongoDB button
4. You’ll see this screen
MongoDB

Click on DOWNLOAD (msi) button.


Installation program will be
downloaded
MongoDB

Go to the download directory and open


the file
MongoDB

MongoDB installer will start


MongoDB

Accept the license and click on Next


button
MongoDB

Choose full installation by clicking on


Complete button
MongoDB

You can leave default values on this


screen
MongoDB

You can leave default values on this


screen. MongoDB Compass will be
installed
MongoDB

Click on Install button to start the


installation
MongoDB

Wait a moment for installation to be


completed
MongoDB

Congratulations! You can start work


with MongoDB!

You might also like