Viewing your JDK capabilities

Defining a new JDK capability

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

You can view all the JDK capabilities that have been defined in your Bamboo system on the JDKs page. These include local server 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_HOME environment variable) and create a 'JDK capability' for that JDK installation, with its path being the value of JAVA_HOME.

To view and configure the JDK capabilities defined in Bamboo:

  1. From the top navigation bar select cogwheel icon > Build resources > JDKs.
  2. Select the tab for a specific JDK to see the agents and jobs related to this JDK capability.

    • View the capabilities and jobs associated with an agent with this JDK capability — select the linked name of the agent in the Agent column. See Viewing a capability's agents and jobs.
    • Edit JAVA_HOME for an agent — select Edit in the Operations column for the agent you wish to configure. See Defining a new JDK capability.
    • Remove this JDK capability from an agent  — select Delete in the Operations column for the agent that currently possesses this JDK capability.
    • View details about (and configure) an elastic image with this JDK capability — select the name of the elastic image in the Elastic image configuration column. See Viewing an elastic image.
    • Configure a job that relies on this JDK capability — select the name of the job in the Plan column.
    • To add a new JDK as a local server capability, select add a JDK as a server capability at the top of the page. This opens the Server capabilities page at the Add capability section, with the JDK selected as the Capability type.
Last modified on Mar 4, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.