When you configure a plan, you need to specify which JDK should be used for the plan's builds. One JDK is automatically configured when you install Bamboo. You can configure more as required.
Once you have configured a new JDK in your Bamboo system, it will appear in the 'Build JDK' drop-down list on the 'Build Resources' tab when you configure a build plan (see 2.1 Specifying a Plan's Build Resources).
To configure a new JDK,
- Click the 'Administration' link in the top navigation bar.
- Click the 'JDKs' link in the left navigation column.
- This will display a list of JDKs that have been configured in Bamboo, with an empty field at the bottom of each column for adding a new JDK.
- In the 'JDK Label' field, type the name that will appear in the drop-down list when a plan is configured.
- In the 'JDK Home Directory' field, type the location of the JDK Home Directory on your Bamboo server.
- 「保存」ボタンをクリックします。
- Verify that 'OK' is displayed in the 'Is Valid JDK?' column for your new JDK. If not, click the 'Edit' link in the 'Operations' column to reconfigure the new JDK's details.
Screenshot: JDKs
Bamboo Documentation