Problems with Eclipse and Processing library

I have a Processing Library that uses the standard Processing library template from GitHub - processing/processing-library-template: Processing Library Template for Eclipse

In the past it’s been fine to install Eclipse and setup the project but lately I bought a new ARM MacBook and I can’t get the project to compile in Eclipse. The issue is that it’s not adding the required .jar files to the compile process.

I added the new .jar files into the /lib folder in the eclipse workspace project, and the classpath.local.include option in includes them but Ant is throwing errors: “package com.sun.jna does not exist”

This is Processing4, OSX 12.3 and the jars are:

Any ideas?