Getting started with Java

Dean Harrison

25 April 2018

No Comments

Home Tutorial

Getting Started with Java – Video Tutorial

How to install the JDK

This post has been put together to help install and configure the Java Development Kit (JDK) onto your machine. It focuses on a short five minute video which walks through the simple instructions of installing the JDK. Following that there is instructions on how to write a quick Hello World application. If you would rather follow the steps in text check out the written step by step guide below the video.

Instructional Video

Text Guide

  1. Download the JDK from Oracle website here
  2. Install the JDK once it has been downloaded
    • Ensure you take note of the installation path
  3. Open the Windows file explorer (Windows Key + E) and navigate your way to the JDK folder, more specifically the bin folder within it
  4. Copy the path from the address bar when inside the bin folder
  5. Open the Windows start menu (Windows Key) and type ‘Environment Variables’ and click on ‘Edit the system environment variables’
  6. Select ‘Environment Variables’ from the window that pops up
  7. Within the box at the bottom of the window “System Environment Variables” left-click on the Path and select ‘Edit’
  8. On the top right of the window click on ‘New’ then paste in the value you have previously copied.
  9. To ensure you have successfully set the system path open your command prompt (Windows Key + R then type cmd and press enter)
  10. Type the following into your command prompt followed by enter ‘javac -version’
  11. Once you get a valid version back it has been successfully set.
  12. You can now start compiling and running your Java code directly from the command line!

The next step for you...

If you would like to learn Java in a practical, high quality and professional environment have a look at our Java courses. Whether you're looking to study online with both in-person and online support or part-time in class, we have a course that can fit your schedule. Our Java courses run both during the week and on the weekends, so you can pick the course that fits you. Don't delay in kick-starting your programming career and get in touch with us today.

Alternatively you can take a look at all the courses we have to offer by using the button below.

Enquire Now






Leave a Reply

Your email address will not be published. Required fields are marked *