My code for calling the audio is this :
File temp = new File(SaverPaint.class.getClass().getClassLoader().getResource("src/NMP.wav").toString()); Current_Sound = playSound(temp); //Debugging.... System.out.println("sound here");
The app still runs, just with no sound. I have also tried the getResourceAsStream() method with no avail.
I also put the sounds files inside the src folder.