Java8 to Java11 update

Sorry for this novice question.

After updating TeamCity I received this warning message:

This TeamCity server is using a deprecated version of Java (8). Please upgrade to Java 11 as future versions of TeamCity will be incompatible with Java 8.
Note: at the moment TeamCity does not support Java versions > 11.

So I went and downloaded the OpenJDK11 64bits binaries for Windows, extracted them, and created environment variables (JAVA_HOME pointing to it, and added the Bin directory in the PATH).

I then restarted the TeamCity service, but the warning message is still showing up.

Anything else should be done?

2
2 comments
Hello,
You also need to set the TEAMCITY_JRE, as explained here:
After doing it and restarting TeamCity (you might also want to restart the TeamCity's server to make sure the changes in the system variables are applied), I would recommend you to check the properties under Administration ->  Diagnostics -> Internal Properties and expand to see all properties, to check if your changes are effective or if you need to fix them.
 
Thanks
3
Avatar
Permanently deleted user

Thanks Guiherme,

This documentation page was exactly what I was looking for. I ended up dumping the OpenJDK files in the TeamCity\jre directory and it works!

2

Please sign in to leave a comment.