Build error while running build

Hi Team,

I’m trying to build a small hello-world project.
maven , git and jenkins are installed on the jenkins ec2 server .
home_path - have been set up
when i try to build the project its failing

kindly asssit

I think you should check your current Java version using java -version. If it’s below Java 11, I recommend upgrading to Java 11 or later, then try running the build again.