Java
Download and install Java:
- Download JDK8 from https://adoptopenjdk.net/
- Install in a chosen directory (example: C:\Tools\JDK8)
Configure Java environment variable
- Launch Start
- Input: sysdm.cpl
- Open/Enter
- Navigate to: Advanced -> Environment Variables
- Find: User Variables -> New button
- Input Variable Name: JAVA_HOME
- Input Variable Value: <JDK8_install_directory> (for example: C:\Tools\JDK8)
- Find variable Path
- Edit
- Add a new value in variable Path: %JAVA_HOME%\bin
- Open Command Prompt (CMD)
- Enter command: java -version
- Expected result: openjdk version "1.8.0_242" (version may differ)
Maven
Download and install Maven
- Download Maven from: https://maven.apache.org/download.cgi
- Choose and download "Binary zip archive"
- Extract zip contents into a chosen directory (ex: C:\Tools\Maven)
Configure Maven environment variable
- Launch Start
- Input: sysdm.cpl
- Open/Enter
- Navigate to: Advanced -> Environment Variables
- Find: User Variables -> New button
- Input Variable Name: M2_HOME
- Input Variable Value: <Maven_install_directory> (for example: C:\Tools\Maven)
- Find variable Path
- Edit
- Add a new value in variable Path: %M2_HOME%\bin
- Restart Command Prompt (CMD)
- Enter command: mvn -version
- Expected result: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
(version may differ)
Git
Download and Install Git
- Download Git from: https://git-scm.com/downloads
- Install Git
- Open Git Bash
- Enter command: git –version
- Expected result: git version 2.25.1.windows.1 (version may differ)
Configure Git to be available in CMD (optional)
- Launch Start
- Input: sysdm.cpl
- Open/Enter
- Navigate to: Advanced -> Environment Variables
- Find variable Path
- Edit
- Add a new value in variable Path: <your_git_install_dir>\bin
(ex: C:\Program Files\Git\bin)
- Restart Command Prompt (CMD)
- Enter command: git --version
- Expected result: git version 2.25.1.windows.1 (version may differ)
IntelliJ IDEA
Download and install IDEA
- Download IDEA Community from: https://www.jetbrains.com/idea/download/
- Install into desired directory (ex: C:\Program Files\JetBrains)
- Open IntelliJ IDEA
Configure Git for IDEA
- Navigate to: Configure -> Settings
(or File -> Settings if you have a project opened)
- Navigate to: Version Control -> Git
- Path to Git executable should be set as <your_git_install_dir>\bin\git.exe
(ex: C:\Program Files\Git\bin\git.exe)
- Press Test
- Correct git version should be displayed
Configure JDK for new IDEA projects
- Navigate to: Configure -> Structure for New Projects
(or File -> New Projects Settings -> Structure for New Projects)
- Navigate to: JDKs
- Press +
- Add JDK
- Input <JDK_path> (ex: C:\Tools\JDK8)
- Navigate to: Project
- Set Project SDK to JDK that you added
Configure Maven for new IDEA projects
- Navigate to: Configure -> Settings
(or File -> New Projects Settings -> Settings for New Projects)
- Navigate to: Build, Execution, Deployment -> Build Tools -> Maven
- Set maven home directory to <M2_path> (ex: C:/Tools/Maven/apache-maven-3.6.3)
Ensure that Cucumber for Java plugin is installed
- Navigate to: File -> Settings -> Plugins
- Check that Cucumber for Java plugin is installed