Installation in Windows

Installing Java Development Kit (JDK)

1) Download and install Java SE Development Kit 12 (accept the defaults and follow the screen instructions to install JDK)

    • https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html


2) Using the File Explorer, goto "C:\Program Files\Java" to inspect these folders. Take note of your JDK installed directory, in particular, the varying upgrade number, which you will need in the next step.


In the following diagram, the JDK installed directory is "C:\Program Files\Java\jdk-12.0.1"

I shall refer to the JDK installed directory as <JAVA_HOME>, hereafter, in this article.

3) Windows' Shell searches the current directory and the directories listed in the PATH environment variable (system variable) for executable programs. JDK's programs (such as Java compiler javac.exe and Java runtime java.exe) reside in the sub-directory "bin" of the JDK installed directory. You need to include it in the PATH to run the JDK programs.

To edit the PATH environment variable in Windows 7/8/10:

1. Launch "Control Panel" ⇒ (Optional) System and Security ⇒ System ⇒ Click "Advanced system settings" on the left pane.

2. Switch to "Advanced" tab ⇒ Push "Environment Variables" button.

3. Under "System Variables" (the bottom pane), scroll down to select "Path" ⇒ Click "Edit...".

For Windows 10 (newer releases):

4. You shall see a TABLE listing all the existing PATH entries (if not, goto next step). Click "New" ⇒ Enter the JDK's "bin" directory :

"c:\Program Files\Java\jdk-10\bin" ⇒ Select "Move Up" to move this entry all the way to the TOP.

Installing Eclipse IDE

We will need Eclipse IDE for Java Developers (NOT the Eclipse Java Enterprise Edition version).

Download it from here:

    • https://www.eclipse.org/downloads/packages/


To install Eclipse, simply unzip the downloaded file into a directory of your choice (e.g., "d:\myproject").

There is no need to run any installer. Moreover, you can simply delete the entire Eclipse directory when it is no longer needed (without running any un-installer). You are free to move or rename the directory. You can install (unzip) multiple copies of Eclipse in the same machine.