Processing-java error

Hello everyone,

I have a similar issue as the OP. I am trying to get processing-java for the command line to work on mac osx 10.13 to run Processing2 sketches from the terminal.

So after installing the Tools>Install processing-java in Processing2

when I type
$ processing-java
in the terminal i get this response:

/usr/local/bin/processing-java: line 13: /Applications/Processing.app/Contents/PlugIns/jdk1.8.0_181.jdk/Contents/Home/jre/bin/java: No such file or directory

This used to work fine, but now it doesn’t anymore and I am getting quite clueless about this. Does anyone know which step I should take to fix this issue.

Many thanks.

Wim