Target VM failed to initialise error message

I’m trying to test and see if a particular audio file I have is working but i’m receiving an error message that I don’t fully understand. The code looks like this:

import processing.sound.*;

SoundFile file;
String audioName = "correct.mp3";
String path;

void setup() {
  path = sketchPath(audioName);
  file = new SoundFile(this, path);
  file.play();
}

void draw(){
}

and the error message states,

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

Anyone able to help?