Processing crashing

I am trying to run processing 3.5.4 on an old mac with OSX 10.13.6 and it keeps crashing with the attached image as the error message. Any ideas?

I cant run a later version because my mac wont support the OS required. I used to be able to run processing on this maching so dont understand why i cant now.
processing error