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.