Scan fails SCA set up Azure for Fortify on Demand

So even after updating Java we are still run into Java inconsistency with scan central.

We are using the latest version of Fortify on Demand and want to use SCA.

2024-11-24T19:41:06.3123711Z Retrieving saved scan settings :***
2024-11-24T19:41:06.3124987Z Working Directory: /home/vsts/work/_tasks/
FortifyOnDemandStatic_cbe8d5fd-a02d-4157-8bfa-21f98fcaa217/9.4.0
2024-11-24T19:41:07.2573306Z outputfilepath : /home/vsts/work/1/
a\source.zip
2024-11-24T19:41:07.2581328Z [command]/opt/hostedtoolcache/scancentral/
24.2.0/x64/bin/scancentral -debug package -oss --build-tool mvn --buildcommand mvn clean install --output /home/vsts/work/1/a\source.zip
2024-11-24T19:41:07.8924908Z Error: LinkageError occurred while loading
main class com.fortify.scancentral.launcher.Launcher
2024-11-24T19:41:07.8925809Z java.lang.UnsupportedClassVersionError:
com/fortify/scancentral/launcher/Launcher has been compiled by a more recent
version of the Java Runtime (class file version 61.0), this version of the Java
Runtime only recognizes class file versions up to 55.0
2024-11-24T19:41:07.9026519Z ##[error]Error: The process '/opt/
hostedtoolcache/scancentral/24.2.0/x64/bin/scancentral' failed with exit code 1
2024-11-24T19:41:07.9092458Z ##[section]Finishing: FortifyOnDemandStatic