After SSH into the AWS EC-2 instance for TeamCity Host, I ran a: sudo yum update command which updated the instance. I believe it updated Java (which I know very little about). After updating I tried to run a build on a project, I received the following error (sanatized slightly):
Failed to collect changes, error: Error collecting changes for VCS 'git fetch' command failed (repository dir: <TeamCity data dir>/system/caches/git/git-2C3466E7.git). exception: Cannot run program "/usr/lib/jvm/java-1.8.0-openjdk-220.127.116.11.b12-0.42.amzn1.x86_64/jre/bin/java" (in directory "/root/.BuildServer/system/caches/git/git-2C3466E7.git
Does anyone have any idea how to fix this?
Thank You in advance for any assistance you can provide