# Could not run the sketch (Target VM failed to initialize). Kinect V2

**URL:** https://discourse.processing.org/t/could-not-run-the-sketch-target-vm-failed-to-initialize-kinect-v2/22687
**Category:** Libraries
**Created:** [July 17, 2020, 2:20pm UTC](https://discourse.processing.org/t/could-not-run-the-sketch-target-vm-failed-to-initialize-kinect-v2/22687 "2020-07-17T14:20:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![HugoD](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@HugoD](https://discourse.processing.org/u/HugoD)
#### Post date: [July 17, 2020, 2:20pm UTC](https://discourse.processing.org/t/could-not-run-the-sketch-target-vm-failed-to-initialize-kinect-v2/22687/1 "2020-07-17T14:20:30Z")

</div>

Hi, I’m getting this error when I run the examples from the OpenCV\_Processing library with a kinect V2.

“Could not run the sketch (Target VM failed to initialize).”

I’m using  
Windows 10 Pro 64-bit  
Intel® Core™ i7-9750H processor Hexa-core 2.60 GHz  
NVIDIA® GeForce RTX™ 2060 with 6 GB dedicated memory

I’ve seen that it may be a nvidia issue but i’m very new to windows so i’m not sure.  
Any help would be appreciated! Thanks!

 ![Annotation 2020-07-17 145837](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/7/7cad7e8ea4abd4a94e614fae6509477f3253f572.jpeg)
