Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
processing-java cannot be installed on OS X 10.11 El Capitan #3497
after a day of poking and prodding - I cannot get processing-java to work on the newest version of OSX 10.11 El Capitan. it would seem that /usr/bin and /usr/sbin have been set to READONLY - so trying to install processing-java from the app obviously fails.
so I tried again, clicked "no" which added processing-java to my home directory, where I moved it into my Documents/Processing directory... I then tried adding it to my bash_profile :
with no results and even tried running from command line :
Joshuas-iMac:Processing joshuadavis$ ./processing-java --sketch='~/Desktop/test/test.pde' --ouput=tmp/ --run --force
with still no results.
I should edit that sketches work fine when running within the IDE... but for my installations I run my sketches from command line to have greater control over memory allocations, etc.
El Capitan introduces System Integrity Protection which will not allow installation into those global directories (hence being read-only).
If I recall, you cannot use a tilde to represent the home directory to specify the location of a sketch. You must use an absolute path. Additionally, the sketch argument should point to the sketchbook folder (not the PDE file).
rocking thank you @mckennapsean indeed ~ was my problem.
I would suggest anyone who considers upgrading to El Capitan and chooses to run an external editor or run sketches from command line needs to be made aware of how/why "install processing-java" isn't behaving as previously expected... with the read-only state of /usr/bin and /usr/sbin.
firing up terminal and using...
/Users/joshuadavis/Desktop/test/processing-java --sketch=/Users/joshuadavis/Desktop/test/build/ --output=/Users/joshuadavis/Desktop/test/build/build-tmp/ --force --run
ran perfect... please be careful in using --sketch and --output as... --output needs to be a new temp directory in order to work... it is very easy to run the risk of accidentally deleting your sketch folder if not done properly (from experience unfortunately).
I'll mark this as closed... though I'm not sure what the core processing team intends to do in regards to "install processing-java" going forward when El Captain moves out of beta. As this will fail and effect people using external editors like Sublime etc.
changed the title from
processing-java isn't working in OSX 10.11 El Capitan
processing-java cannot be installed on OS X 10.11 El Capitan
Aug 7, 2015
Reopening because we'll need to sort out how we're supposed to do this under the new regime since we can't touch
For anyone looking into it: how do we get something on the user's