Processing on Debian: library initialization failed

I think it makes sense to see if it’s an issue with Java of sorts. In Processing’s folder, there’s “java” folder, and in there “bin” folder, that contains “java” executable. Try running it through the terminal with an argument
-version , and tell us what it returns.
On a separate machine I have access to with little RAM, doing that simply causes it to say “not enough memory”, and doing it on my laptop causes it to print version information.