Docs Navigation

Java Continuous Integration

Semaphore supports the following Java versions:

  • OpenJDK 7u151
  • Oracle JDK 8u151
  • Oracle JDK 9.0.1

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 (4.1)

  • Apache Maven (3.5.2)

  • Scala (2.11.11, 2.12.4)

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

Semaphore Docs are open source — Edit on GitHub


Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2017 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.