Skip to content

Instantly share code, notes, and snippets.

@sport4minus
Last active September 8, 2018 09:35
Show Gist options
  • Save sport4minus/26587f9168629731d011e44a9fafe14a to your computer and use it in GitHub Desktop.
Save sport4minus/26587f9168629731d011e44a9fafe14a to your computer and use it in GitHub Desktop.
Run processing.org 3.x exported sketch from commandline

Run processing.org 3.x exported sketch from commandline

example under OSX:

if you have a sketch called Test.pde

  • navigate to application.macosx/Test.app/Contents/Java
  • then call the following line java -cp "*" Test
    -cp "*" makes all the jars in the directory available to java
    Testist the main class name, in Processing usually the name of the Sketch / Main .pde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment