Java Continuous Integration

Semaphore supports the following Java versions:

  • openjdk-7u121
  • Oracle jdk-8u121

Switching between Java versions is done by adding the following command to your build commands:

change-java-version <version>

Valid values for <version> are 1.7 or 7 for OpenJDK 7 and 1.8 or 8 for Oracle JDK 8. The default Java version is openjdk-7.

To use change-java-version in a bash script, use the following command to load it:


source /opt/

The Semaphore stack includes:

  • Gradle (3.4)

  • Apache Maven (3.3.9)

  • Scala (2.11.8, 2.12.1)

List of all packages and versions is available on the supported application stack page.