Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to configure build target JDK?

build configure JDK target
0
0 Posted

How to configure build target JDK?

0
0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123