Categorygithub.com/bitrise-steplib/bitrise-step-set-java-version
modulepackage
0.0.0-20240904115825-9a607477e959
Repository: https://github.com/bitrise-steplib/bitrise-step-set-java-version.git
Documentation: pkg.go.dev

# README

Set Java version

Step changelog

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

Description

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

🧩 Get started

Add this step directly to your workflow in the Bitrise Workflow Editor.

You can also run this step directly with Bitrise CLI.

⚙️ Configuration

Inputs
KeyDescriptionFlagsDefault
set_java_versionSelect the installed Java version you want to use during the build run. You can check in system reports which Java versions are installed on each Bitrise stack.required11
Outputs
Environment VariableDescription
JAVA_HOMEJAVA_HOME is an environment variable that points to the path where the JDK (Java Development Kit) is installed.

🙋 Contributing

We welcome pull requests and issues against this repository.

For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.

Learn more about developing steps:

# Packages

No description provided by the author

# Functions

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author