Processing 4 processing-java binary?

Hello @SNitaine,

Extracted from above link:

You can use processing.exe cli instead of processing-java.exe everything should be the same as before.

Editor-agnostic guidance that may work for a Windows 10 and Processing 4.4.10 environment:

  • Download the portable ZIP version:
    Releases · processing/processing4 · GitHub

  • You will have to (makes life easier) add processing.exe to your environment path.

  • This is the command-line for --help:
    D:\Users\GLV\Documents\P4>processing cli --help | more

Output

  • This will launch a sketch:
    D:\Users\GLV\Documents\P4>processing cli --sketch=alpha_gradients_1_0_0 --run
Output

Note the usage of cli in the above!

Folders structure will certainly be different on your PC.

You may accidentally launch the PDE if you make mistakes on the command-line!

If you are comfortable with command-line this is going to be fun!

You may also consider perusing the older versions of Processing for one that includes the processing-java.exe … for use with that version of course!

Have fun!

:)