Java JDK 8

Java SE Development Kit 8 (JDK )

Introduction

This guide will show you how to install Java JDK 8 on Windows, Mac OS X and Linux.

The choice of Java as a language for development was not occasional, but due to the fact that of the 21 million existing developers in the world, 9 million are Java developers, according to the Global Developers Population and Demographic Study in 2016. It is one of the largest development communities in the world!

Guide

Step 1: go to link. Accept license agreement and download latest Java 8 JDK (32 or 64 bit) for Windows:

Requires an Oracle account

Step 2: if download is complete, run .exe for install. Click Next:

Step 3: select the path of JDK installation and click Next :

Step 4: select the path of JRE installation and click Next :

Step 5: once installation is complete click Close :

Step 6: open CMD (command line prompt) as administrator;

Step 7: set JAVA_HOME environment variable:

C:\> setx JAVA_HOME "C:\Program Files\Java\jdk1.8.0_231"

Step 8: add JAVA_HOME and subfolders to PATH :

C:\> setx PATH "%JAVA_HOME%;%JAVA_HOME%\bin;%JAVA_HOME%\lib;%PATH%;"

Step 9: reopen your CMD (command line prompt) and try:

C:\> echo %JAVA_HOME%

if response is C:\Program Files\Java\jdk1.8.0_231 you installed everything correctly.

You have successfully installed Java JDK 8 on your machine.

See more

After that it's possible to start into many IDEs! Start with Visual Studio Code or another non Maven friendly, following the Maven installation guide.

Last updated