From the course: Cucumber Essential Training

Setup: JDK

From the course: Cucumber Essential Training

Start my 1-month free trial

Setup: JDK

- [Instructor] In this course, we will use Eclipse IDE on a Windows computer, for all our Cucumber based development. Java will be the programming language of choice. Later in this course, we will also review another behavioral development tool called SpecFlow and utilize Microsoft Visuals Studio IDE and use C Sharp as our programming language. The concepts behind the tools is the same. If you know how to install Java Development Kit and Eclipse, feel free to skip this video. I'm going to go ahead and bring up command prompt and type Java version to see if I already have Java and looks like it's not a recognized command. So let's go ahead and install Java Development Kit or JDK. Go to the Oracle downloads website. Click download button. Scroll down and pick Windows 64 bit exe. And accept licensing agreement first. Click download and the download begins. My download is complete and I am ready to install JDK. I'm going to double click on that. Accept prompts and pretty much, continue with the defaults. It's going to install JDK in C, Program Files, Java directory. Once the installation is complete, you will see this window, click close. Once JDK installation is complete, we're going to go ahead and set up system variables. You're going to right click on My Computer. Click properties. Click advanced system settings. Click environment variables and we're going to do two things here. One is to find a system variable called Java_HOME. The full path of this Java home will be where Java JDK is installed. Which is going to be C, Program Files, Java, JDK. Let's copy this path and paste it here at the variable value. The next thing I am going to do is update the path to include the Java bin folder of the JDK. Click edit, add a new path. Paste the path that we had used before but append bin to it. This is the bin folder location. Where, my Java command line tools are there. Let's go back and bring up command prompt again. And let's type Java version. And we can see that we have Java installed.

Contents