Viewing your JDK capabilities
You can view all the JDK capabilities that have been defined in your Bamboo system on the JDKs page. These include local server capabilities, local agent-specific capabilities and remote agent-specific capabilities.
Note the following:
- Bamboo's automatic detection of JDKs — When you install either Bamboo or the Bamboo Remote Agent, it will automatically look for an existing JDK installed on the same machine (based on the machine's
JAVA_HOMEenvironment variable) and create a 'JDK capability' for that JDK installation, with its path being the value ofJAVA_HOME. - Local agents and JDK capabilities — Since Bamboo automatically looks for an existing JDK installed on the same machine and creates a 'JDK capability' for it, all existing and subsequent local agents that you create will possess this JDK capability. Hence, when you access the 'JDKs' page and view this JDK capability, all local agents will be grouped together in the 'All local agents' category and you will only be able to remove this JDK capability from all local agents, not from individual local agents.
Related pages:
To view and configure the JDK capabilities defined in Bamboo:
- Unable to render {include} The included page could not be found.
- Click Image Configuration (under 'Elastic Bamboo') in the left navigation panel.
- Select the elastic image configuration you are using.
Locate the relevant JDK section (under Elastic image capabilities). You may:
| View | View your chosen JDK configuration |
|---|---|
| Edit | Edit your chosen JDK configuration by specifying an alternative path to Java home. Click Save to save your changes. |
| Delete | Delete your chosen JDK configuration |
Screenshot: Viewing the JDKs in Bamboo
