top of page

getting started with Java

How to get started with Java 
 
 
These instructions are based on a Windows 64 bit system, so if you have any other system you need to download jdk and eclipse for your desired system. 
 
Before we begin to write code in java we need to download and install JDK (Java Developers Kit) and we also need the Eclipse development environment. 
 
 
 
First the JDK 
 
Download and install jdk….note that this jdk version comes with the corresponding JRE (java runtime environment) that is needed to run Eclipse. 
 
keep this page open for instructions, open a second browser and go to this link 
 
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 

​

​

we will see the following when at the Oracle link

Accept the license agreement, it is easy to miss this part, so go half way down the page and you will see a small radio button, press this 
 
 
 
Then next, for windows choose this one and for 64 bit system  press jdk-8u201…...x64.exe 

After the download finishes, go to your downloads section and you will see this 

Double click and follow instructions to install jdk on your computer 

click next until finished

​

​

When finished, it is time to download and install Eclipse. Normally Eclipse will be smart enough to find your version of the installed JRE otherwise we need to install it manually 
 
 
 
Eclipse is where we will do our coding….this is a globally favorite and very widely used tool and many online tutorials prefer Eclipse 
 
 
For windows 64 bit choose this link 
 
 
 
https://www.eclipse.org/luna/ 
 
 

Press download, Then you will see this 

Double click this and then you may need to press download again Then you will see this in your downloads area after the download is complete 

Double click this and WAIT, it will take a short while to appear, this is the windows installer 

When you see this double click on it Then click install - be sure to make a note of the install path on your computer Then accept the agreement 
 
It takes a few minutes to install and then you will see this 

This will bring you to your workspace 
 
Press launch For first time installers and you will see this 

you can start exploring some of your options 
 
or 
 
X out of this and workspace will be visible…..this is where we will write some java and I will teach you this in the next lesson 
 
The install program will create this icon on your desktop and this is how we launch eclipse for future use 
 
 

You can also manually find the install path for Eclipse This is my path but you will see your name instead of rickd 

To start, if not from the desktop icon, click on purple eclipse icon here 
 
 
Next step is to set up a default project and also verify that your local jre/jdk is connected 
 
 
My next lesson will explain how to do this 

bottom of page