# 'NoClassDefFoundError: com/sun/jna/Library' error with kinect v1

**URL:** https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167
**Category:** Processing
**Created:** [September 9, 2021, 3:30pm UTC](https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167 "2021-09-09T15:30:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![weiterlee](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@weiterlee](https://discourse.processing.org/u/weiterlee)
#### Post date: [September 9, 2021, 3:30pm UTC](https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167/1 "2021-09-09T15:30:55Z")

</div>

> please format code with \</\> button \* [homework policy](https://discourse.processing.org/faq/#homework) \* [asking questions](https://discourse.processing.org/t/2147)

Hi, I’m using processing 4.0b1 and trying to use kinect v1 in processing.  
I’ve downloaded ‘Open Kinect for Processing’ Library by Daniel Shiffman and having problem with trying the ‘AveragePointTracking’ example.  
Everytime I try to run that example it keeps showing ‘NoClassDefFoundError: com/sun/jna/Library’ error. I don’t even understand what that means.  
Can anyone help me?

---

<div class="post-metadata">

### Author: ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)
#### Post date: [September 9, 2021, 7:10pm UTC](https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167/2 "2021-09-09T19:10:09Z")

</div>

Hi! Welcome to the forum!

Could you tell us if you have follow the instructions written in the link below?

> **[GitHub - shiffman/OpenKinect-for-Processing: For use of libfreenect in...](https://github.com/shiffman/OpenKinect-for-Processing)**
>
> For use of libfreenect in processing. Contribute to shiffman/OpenKinect-for-Processing development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![ooj](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ooj/32/15914_2.png) [@ooj](https://discourse.processing.org/u/ooj)
#### Post date: [March 16, 2022, 9:04am UTC](https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167/3 "2022-03-16T09:04:35Z")

</div>

Are you on an M1 Mac? I’m facing the same issue.

---

<div class="post-metadata">

### Author: ![ooj](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ooj/32/15914_2.png) [@ooj](https://discourse.processing.org/u/ooj)
#### Post date: [March 26, 2022, 9:16am UTC](https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167/4 "2022-03-26T09:16:50Z")

</div>

I found a fix: [Processing 4 + OpenKinect - #9 by ooj](https://discourse.processing.org/t/processing-4-openkinect/32781/9)
