Running Processing in Raspi without Desktop environment


I am working on a digital frame using an old screen and a Raspberry pi, i would love to show Processing sketches on it but i would love to avoid launching the desktop environment and run it from there. Do you know if it is possible to run processing without a desktop environment in the rapsberry pi? Thanks so much,


This link might be interesting. Otherwise have you considered using a tiling window manager like i3-wm? See Processing in style with Java 11 for how to install processing4 on RaspberryPI.

You need some graphics support to be able to show sketches. Desktop is not necessary if you develop the code without processing ide as a regular java program that can be launched from command line or as part of start-up of the device.
Even code developed with processing ide can be launched from command line Executing Sketch via Linux Command Line?