# Bug with processing on Mac OS High Sierra

**URL:** <https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116>\
**Category:** Processing\
**Created:** [November 30, 2018, 4:14pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116 "2018-11-30T16:14:08Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![under69](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@under69](https://discourse.processing.org/u/under69)\
**Post date:** [November 30, 2018, 4:14pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/1 "2018-11-30T16:14:08Z")

</div>

Hello  
Since I have change my os to high Sierra, Processing crash and didn’t show me an image.

Somebody can help me to fix that bug cause I need to use processing with Isadora for a futur show in france  
Thanks  
Gerald

Processing show this message.

java.io.IOException: Cannot run program “/Applications/Processing 2.2.1.app/Contents/PlugIns/jdk1.7.0\_55.jdk/Contents/Home/jre/bin/java”: error=2, No such file or directory  
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)  
at java.lang.Runtime.exec(Runtime.java:617)  
at java.lang.Runtime.exec(Runtime.java:485)  
at processing.core.PApplet.exec(PApplet.java:4041)  
at processing.mode.java.runner.Runner$1.run(Runner.java:437)  
at java.lang.Thread.run(Thread.java:745)  
Caused by: java.io.IOException: error=2, No such file or directory  
at java.lang.UNIXProcess.forkAndExec(Native Method)  
at java.lang.UNIXProcess.(UNIXProcess.java:184)  
at java.lang.ProcessImpl.start(ProcessImpl.java:130)  
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)  
… 5 more  
Exception in thread “Thread-9” java.lang.RuntimeException: Could not open /Applications/Processing 2.2.1.app/Contents/PlugIns/jdk1.7.0\_55.jdk/Contents/Home/jre/bin/java -agentlib:jdwp=transport=dt\_socket,address=8462,server=y,suspend=y -Xdock:name=Isadora\_Kinect\_Tracking\_Mac -Djava.library.path=:/Users/geraldgroult/Documents/Processing/libraries/SimpleOpenNI/library:/Users/geraldgroult/Documents/Processing/libraries/oscP5/library:/Users/geraldgroult/Documents/Processing/libraries/Syphon/library::/Applications/Processing 2.2.1.app/Contents/Java:/Applications/Processing 2.2.1.app/Contents/MacOS -cp /var/folders/40/z03nk\_2n551\_12lhnm5tj\_f80000gn/T/Isadora\_Kinect\_Tracking\_Mac6216168293033695751temp:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-linux-armv6hf.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-linux-armv6hf.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-macosx-universal.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-linux-amd64.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-linux-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-windows-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-linux-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-linux-amd64.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/core.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-macosx-universal.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-windows-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-windows-amd64.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-windows-amd64.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-linux-armv6hf.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-linux-armv6hf.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-macosx-universal.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-linux-amd64.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-linux-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-windows-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-linux-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-linux-amd64.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/core.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-macosx-universal.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-windows-i586.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/gluegen-rt-natives-windows-amd64.jar:/Applications/Processing 2.2.1.app/Contents/Java/core/library/jogl-all-natives-windows-amd64.jar:/Users/geraldgroult/Documents/Processing/libraries/SimpleOpenNI/library/SimpleOpenNI.jar:/Users/geraldgroult/Documents/Processing/libraries/SimpleOpenNI/library/SimpleOpenNI.jar:/Users/geraldgroult/Documents/Processing/libraries/oscP5/library/oscP5.jar:/Users/geraldgroult/Documents/Processing/libraries/oscP5/library/oscP5.jar:/Users/geraldgroult/Documents/Processing/libraries/Syphon/library/jsyphon.jar:/Users/geraldgroult/Documents/Processing/libraries/Syphon/library/Syphon.jar:/Users/geraldgroult/Documents/Processing/libraries/Syphon/library/jsyphon.jar:/Users/geraldgroult/Documents/Processing/libraries/Syphon/library/Syphon.jar:/Applications/Processing 2.2.1.app/Contents/Java:/Applications/Processing 2.2.1.app/Contents/Java/org-netbeans-swing-outline.jar:/Applications/Processing 2.2.1.app/Contents/Java/com.ibm.icu\_4.4.2.v20110823.jar:/Applications/Processing 2.2.1.app/Contents/Java/ant.jar:/Applications/Processing 2.2.1.app/Contents/Java/jdi.jar:/Applications/Processing 2.2.1.app/Contents/Java/ant-launcher.jar:/Applications/Processing 2.2.1.app/Contents/Java/org.eclipse.osgi\_3.8.1.v20120830-144521.jar:/Applications/Processing 2.2.1.app/Contents/Java/antlr.jar:/Applications/Processing 2.2.1.app/Contents/Java/core.jar:/Applications/Processing 2.2.1.app/Contents/Java/jna.jar:/Applications/Processing 2.2.1.app/Contents/Java/jdimodel.jar:/Applications/Processing 2.2.1.app/Contents/Java/pde.jar -ea processing.core.PApplet --editor-location=606,127 --external --display=0 Isadora\_Kinect\_Tracking\_Mac --sketch-path=/Users/geraldgroult/Documents/isadora docs/Isadora\_Kinect\_Tracking\_Mac  
at processing.core.PApplet.exec(PApplet.java:4044)  
at processing.mode.java.runner.Runner$1.run(Runner.java:437)  
at java.lang.Thread.run(Thread.java:745)

---

<div class="post-metadata">

**Author:** ![PascalAudet](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pascalaudet/32/1903_2.png) [@PascalAudet](https://discourse.processing.org/u/PascalAudet)\
**Post date:** [November 30, 2018, 4:20pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/2 "2018-11-30T16:20:19Z")

</div>

> [@under69](#):
>
> Processing crash and didn’t show me an image.

Does this happen with a spefic sketch or for all sketch.  
What version of Processing 2.2.1 ? did you try a newer version?

---

<div class="post-metadata">

**Author:** ![under69](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@under69](https://discourse.processing.org/u/under69)\
**Post date:** [November 30, 2018, 4:22pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/3 "2018-11-30T16:22:37Z")

</div>

i ve try both processing 2.2.1 and processing 3  
and it’s the same problem

---

<div class="post-metadata">

**Author:** ![PascalAudet](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pascalaudet/32/1903_2.png) [@PascalAudet](https://discourse.processing.org/u/PascalAudet)\
**Post date:** [November 30, 2018, 4:24pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/4 "2018-11-30T16:24:35Z")

</div>

> [@under69](#):
>
> “/Applications/Processing 2.2.1.app/Contents/PlugIns/jdk1.7.0\_55.jdk/Contents/Home/jre/bin/java”: error=2, No such file or directory

Make sure that this file exist

---

<div class="post-metadata">

**Author:** ![under69](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@under69](https://discourse.processing.org/u/under69)\
**Post date:** [November 30, 2018, 4:24pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/5 "2018-11-30T16:24:39Z")

</div>

it shows this bug with processing 3

:

2018-11-30 17:23:38.192 java[1075:35882] pid(1075)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!  
Setup Canvas  
– Canvas Setup Complete  
Setup Syphon  
Syphon 2.0 by Andres Colubri [http://andrescolubri.net/](http://andrescolubri.net/)  
Setup OpenNI  
java.lang.RuntimeException: java.lang.NoSuchMethodError: processing.core.PApplet.registerDispose(Ljava/lang/Object;)V  
at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:412)  
at java.lang.Thread.run(Thread.java:748)  
Caused by: java.lang.NoSuchMethodError: processing.core.PApplet.registerDispose(Ljava/lang/Object;)V  
at SimpleOpenNI.SimpleOpenNI.initEnv(SimpleOpenNI.java:383)  
at SimpleOpenNI.SimpleOpenNI.(SimpleOpenNI.java:255)  
at Isadora\_Kinect\_Tracking\_Mac.setupOpenNI(Isadora\_Kinect\_Tracking\_Mac.java:75)  
at Isadora\_Kinect\_Tracking\_Mac.setup(Isadora\_Kinect\_Tracking\_Mac.java:256)  
at processing.core.PApplet.handleDraw(PApplet.java:2404)  
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:866)  
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)  
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)  
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)  
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)  
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)  
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)  
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)  
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)  
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)  
at java.util.TimerThread.mainLoop(Timer.java:555)  
at java.util.TimerThread.run(Timer.java:505)

---

<div class="post-metadata">

**Author:** ![PascalAudet](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pascalaudet/32/1903_2.png) [@PascalAudet](https://discourse.processing.org/u/PascalAudet)\
**Post date:** [November 30, 2018, 4:27pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/6 "2018-11-30T16:27:20Z")

</div>

> [@under69](#):
>
> at SimpleOpenNI.SimpleOpenNI.(SimpleOpenNI.java:255)

Maybe the Kinect library is causing this bug, make sure that all the Library are well instaled.

---

<div class="post-metadata">

**Author:** ![under69](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@under69](https://discourse.processing.org/u/under69)\
**Post date:** [November 30, 2018, 4:30pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/7 "2018-11-30T16:30:58Z")

</div>

following this report

/Applications/Processing 2.2.1.app/Contents/PlugIns/jdk1.7.0\_55.jdk/Contents/Home/jre/bin/

i ve got nothing in bin java doesn’t exist

how can I fix it

---

<div class="post-metadata">

**Author:** ![PascalAudet](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pascalaudet/32/1903_2.png) [@PascalAudet](https://discourse.processing.org/u/PascalAudet)\
**Post date:** [November 30, 2018, 4:32pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/8 "2018-11-30T16:32:40Z")

</div>

> [@under69](#):
>
> java doesn’t exist

Since Processing work with Java , I would try to reinstall the latest Java .

---

<div class="post-metadata">

**Author:** ![under69](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@under69](https://discourse.processing.org/u/under69)\
**Post date:** [November 30, 2018, 4:46pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/9 "2018-11-30T16:46:06Z")

</div>

done  
but it still the same  
thanks  
Gerald

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [December 13, 2018, 5:53am UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/10 "2018-12-13T05:53:51Z")

</div>

> [@under69](#):
>
> java.io.IOException: Cannot run program “/Applications/Processing 2.2.1.app/Contents/PlugIns/jdk1.7.0\_55.jdk/Contents/Home/jre/bin/java”: error=2, No such file or directory

The initial error is saying it cannot find the java executable. It will be a bit hard to debug and I will try to help as much as I can. Do these:

1. Go to the directory and confirm that java is indeed not there in that directory
2. Open a terminal and type `java --version`. What do you get?
3. If you get a version number, what version do you have? You can type `which java` to see the location of the executable. This would be a start.

Can you provide the output of the following commands (Run them in a terminal)? `env` and `echo $PATH`. Tell me about the location of your sketchbook and Processing’s main files.

Kf

Kf

---

<div class="post-metadata">

**Author:** ![Sarah](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sarah/32/1675_2.png) [@Sarah](https://discourse.processing.org/u/Sarah)\
**Post date:** [December 13, 2018, 8:40am UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/11 "2018-12-13T08:40:11Z")

</div>

Try to install Processing Java again, could have been uninstalled when you updated your OS.

---

<div class="post-metadata">

**Author:** ![BenL](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/benl/32/2809_2.png) [@BenL](https://discourse.processing.org/u/BenL)\
**Post date:** [December 14, 2018, 5:20pm UTC](https://discourse.processing.org/t/bug-with-processing-on-mac-os-high-sierra/6116/12 "2018-12-14T17:20:54Z")

</div>

Hey Gerald–your first error is because that version of Java is gone from your new OS installation (jdk 1.7 is super old).

Your second is a bit trickier, a `NoSuchMethodError` occurs when a library under the hood is using something that doesn’t exist anymore. In your case, I think it’s because you’re using a version of SimpleOpenNI for Processing 2 and need to install a different version of the plugin. [https://github.com/totovr/SimpleOpenNI](https://github.com/totovr/SimpleOpenNI)

In general when you see `Exception` in Java it’s from a problem within the code, when you see `Error` it’s caused by something outside the code.
