Processing in style with Java 11

Hello. Not sure if I made a silly error but I’m getting this error in the console of Processing:

core does not run on this architecture: arm64
core is only compatible with the  32-bit download of Processing
  • Running Ubuntu Desktop 21.04 64-bit on RPi4 8GB
  • Installed Linux Processing 4.0b1 from processing.org/downloads and installed in /opt folder
  • Installed JDK with sudo apt install default-jdk
  • Moved java folder in Processing installation folder and applied soft link with sudo ln -s /usr/lib/jvm/default-runtime java
  • Run ./processing and it opened fine but with the below warnings in terminal:
$ ./processing
aleksander@rpi4:/opt/processing-4.0b1$ WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by processing.app.platform.LinuxPlatform (file:/opt/processing-4.0b1/lib/pde.jar) to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of processing.app.platform.LinuxPlatform
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Sep 21, 2021 4:30:52 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
  • Tried a simple sketch and the above error occurred.

I’m a complete beginner, so any pointers where I made a mistake would be appreciated. Thanks.