icon

Set Java version

This Step helps you activate pre-installed Java (JDK) version on the build virtual machine.

This Step is not supposed to install any Java version on the fly. You can only pick from the already installed versions. If you want to install other Java versions, check out Using a Java version not installed on our Android stacks.

Configuring the Step

  1. In the Java version to be set globally for the build input, select an installed Java version you wish to use during the build run.

Troubleshooting

If the Step fails to set the Java version, you can use these scripts as a temporary workaround.

Useful links

Similar steps

Sets the Bundle Version and Bundle Short Version String to the specified value, in the target Info.plist file for the next build.

Sets the Android Manifest Version Code and Name to the specified value, in the target AndroidManifest.xml file for the next build.

Sets application version and build number in pubspec file and returns the new version info

Generate version containing pre-release information (v1.0.0-alpha.1, 2.4.1.249-beta+2, v2.0-rc.3) based on git tags.