Skip to main content

Java

This page describes tools commonly used with Java.

IDEsโ€‹

IntelliJ IDEAโ€‹

You can find more information on using Cucumber with IntelliJ IDEA in the IntelliJ IDEA Cucumber help pages

Eclipseโ€‹

Build toolsโ€‹

The most widely used build tools for Java are Maven and Gradle.

Mavenโ€‹

To run Cucumber with Maven, make sure that:

  • Maven is installed
  • The environment variable MAVEN_HOME is correctly configured
  • The IDE is configured with the latest Maven installation

Clone the cucumber-jvm-starter-maven-java to get started.

Gradleโ€‹

To run Cucumber with Gradle, make sure that:

  • Gradle is installed
  • The environment variable GRADLE_HOME is correctly configured
  • The IDE is configured with the latest Gradle installation

Clone the cucumber-jvm-starter-gradle-java to get started.