Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.
TRUSTED BY
I would not probably say that documanetation does not say.
They rather explicitly state in their manulas that you need to change it in Tomcat JVM properties:
as a web server (Tomcat) system JVM property teamcity.data.path (see System Properties for Running the Server).
you will need to modify the teamcity.data.path Tomcat JVM property as described in System Properties for Running the Server. Modifying the TEAMCITY_DATA_PATH environment variable will not work in this case.
http://confluence.jetbrains.net/display/TCD6/TeamCity+Data+Directory
and here in fact they again state the same:
if you are using .war distribution, use the manual of your Web Application Server.
http://confluence.jetbrains.net/display/TCD6/Configuring+TeamCity+Server+Startup+Properties
So I guess it reads from environment of the JVM and JVM, which is running iy is the same which runs Tomcat.
So you need to set that environemnte when =starting JVM with tomcat.
It is only if they have some undocumented other pssossibility - that would be the hope?