How to configure build target JDK?
For JAVA-based runners, you can configure JDK in build configuration parameters. Go to the Administration tab, and edit necessary build configuration. On the Build configuration page, edit the JDK home path field (it is available only if some Java-based runner is selected). If this field is not empty then path is read from JAVA_HOME environment variable or JDK home specified on the build agent machine. If these values are also not specified, the TeamCity will use JDK home on which build agent is started itself. For all run parameters with values specified in terms of other properties (like %system.JAVA_1_4%), an implicit requirement is added ensuring the referenced property is either defined on the agent machine or specified in build parameters.
Related Questions
- How do I configure Setup Manager to build configuration sets that use a user name and password that is different from the user name and password that I used when I first installed the OPK?
- Which are the key channels through which Indian airlines build its brand awareness among the target markets?
- How to configure build target JDK?