as
@teddybear comments, something in your project was built with java 17 (
https://javaalmanac.io/bytecode/versions/).
it's not going to run on a jre for java 8. jre's are backward(ly) compatible, not vice versa.
@Daestrum posted a workaround for using slc with java versions 11+. i've used it, but i couldn't find it just now
when using the forum search. btw, i thought you could use newer java versions with slc; it was the .xml file generated
that didn't come out right. i seem to recall it working otherwise.