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

edited October 2017 in Using Processing

Hi, I've run into this issue twice now with two different sketches. When I launch the sketch, it stops responding and gives me the message "Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help → Troubleshooting". I've looked for solutions, but I can only find examples where they use a different operating system(I'm using OS X, most discussions I can find are about nVidia and Windows) or about sound (only one of my sketches uses sound).

An odd thing about the sketch with sound is that it does work with the provides sound samples, but not with mine.

I've tried some other (older) sketches, and they all work. Does anyone have any advice/solutions? Thanks!

Answers

  • If some sketches work that suggests the problem is with the sketch.

    If some audio files work that suggests a problem with your audio file.

    But we can't see the sketch or the audio file...

  • Answer ✓

    nvm, was a silly issue were I accidentally put background() before canvas in the setup

Sign In or Register to comment.