loadShape freezes Raspberry Pi

I performed a similar test with a LattePanda Delta 3 running Windows 10 64-bit. I thought the CPU type might be the issue but I had the same error. I tested this on a 7" monitor (1024x600) and a 24" monitor (HDMI interface on both).

I used Processing 4.3.

The error message is shown below. When I closed the processing window, another window popped up with an error message “OpenJDK Platform Binary is not responding.”