Teamcity JRE11....how?

Hi,

Apparently I need to upgrade to Java JRE 11 as per warning in our Teamcity instance on Windows server. This is pretty straight forward: download Java JRE, install, copy JRE folder to <Teamcity folder>, done. Thing is, Oracle doesn't offer anything beyond JRE 8.

I tried downloading Teamcity server in hope to just upgrade our existing instance as supposedly it contains JRE11 but when I run the installer, it wants to uninstall our present Teamcity instance. I can't lose our current data and settings. If I proceed in uninstalling and reinstalling, will all my data and settings be gone? If yes I need to take a different approach to which I ask: where to get JRE 11?

Also, new JRE not being available for download was apparently some Oracle license change but I can't imagine being the only one running in to this, why doesn't the support article mentioned below provide any info on how to work around this as we're forced to upgrade to JRE11 eventually?

https://www.jetbrains.com/help/teamcity/how-to.html

Fixed for now by using https://adoptium.net/releases.html?variant=openjdk11
Bit wary since I don't really like using software from sources I don't know. Source seems OK though and Virustotal shows clean.

0
5 comments

The data is stored in the data directory and database, not in the installation directory, so uninstalling to install the new version should be safe unless you forced the data directory within the installation directory. Only configuration tied to Tomcat (the webserver teamcity runs on) is stored in the installation directory, alongside the startup scripts. If you modified either the server.xml or the startup scripts, you might need to ensure those changes are carried over. Of course, you could just create a backup of the data and restore after the upgrade, that would also work. You can find all the info in our docs: https://www.jetbrains.com/help/teamcity/upgrading-teamcity-server-and-agents.html#Using+Windows+Installer and more about the data directory here: https://www.jetbrains.com/help/teamcity/teamcity-data-directory.html

 

The JRE can be provided by many different third parties. Currently we ship Amazon's: https://aws.amazon.com/de/corretto/. Please note that versions beyond 11 are still not supported as there wasn't any other LTS until relatively recently, which we are working on supporting.

1

Ok thanks for the info Denis.

0

Denis Lapuente Follow up question on this topic: We have two servers running the latest 2021 TC version but both still run the bundled Java 8 version. If we update via the TC UI to 2022 will the update automatically upgrade to the bundled Java11 or will we need to do this manually?

0

Hi Brian,

 

no, we don't currently replace the JVM using automatic upgrades. If you upgrade manually then yes, alternatively you can just replace the jre installation with your own.

0

is there a way to setup teamcity server to use a different folder ? 

0

Please sign in to leave a comment.