Running Processing sketch from command line on windows


this is the second time I try to get help for this, nobody answered, maybe cos the thread is not in a very popular category. The thread is here:

I want to use notpad ++ as sketch editor but I'm having problems running Processing in command window.

I've correctly followed the instructions in this page:

executing this: processing-java --sketch="$(CURRENT_DIRECTORY)" --output="$(CURRENT_DIRECTORY)/output" --force --run

but I get this error:

err is java.lang.reflect.InvocationTargetException Exception in thread "main" java.lang.NullPointerException at at

I'm using the processing-3.2.3 version in a windows 10 Pro 64 bit

any clue?




  • Answer ✓

    Try running it this way:

    processing-java --sketch=%cd% --output=%cd%/output" --force --run

    That works for me. I am also using Win 10 64bit, Processing 3.2.4


  • Thanks kfrajer, now it works fine!

Sign In or Register to comment.