I have successfully installed and run the development version of processing-4.0 on RaspberryPI4 with manjaro Arm OS see Processing in style with Java 11 but you will need to copy me and use locally installed java (because the distributed jdk is x86_64 not aarch64 as required).