How to run processing-java command on ubuntu

I downloaded and installed processing4 on ubuntu successfully, but failed to run processing-java command.
I developed and run a python script and finally got this issue.


Welcome @superumam

Is there an error message? I tested this on my system (Ubuntu-based) using Processing 4, and things seem to work fine –

  1. I created a sketch file – in this case, named demo.pde – in a folder named demo (on my Desktop)
  2. I opened my terminal to cd to my extracted Processing application directory, i.e.:
    cd /home/tabreturn/apps/Processing
  3. Then, I ran ./processing-java --sketch=/home/tabreturn/Desktop/demo --run

My sketch was just a one-liner – a square() function – and the display window popped up and rendered what I expected.