title: MalformedURLException no protocol. How to fix?
body: <p>So I have this Code:</p>
  
  <pre><code> import java.applet.Applet;
   import java.applet.AudioClip;
   import java.net.URL;
  
   public class SoundTest {
       public static void main(String[] args) throws Exception {
  
      URL url = new URL("Sprites/Omni's Tones/New tones/bubblespawn_01.wav");
      AudioClip clip = Applet.newAudioClip(url);
      AudioClip clip2 = Applet.newAudioClip(url);
      clip.play();
      Thread.sleep(1000);
      clip2.loop();
      Thread.sleep(20000);
      clip2.stop();
  
      System.out.println("end");
       }
   }
  </code></pre>
  
  <p>An error Appears:</p>
  
  <pre><code> Exception in thread "main" java.net.MalformedURLException: no protocol: Sprites/Omni's Tones/New tones/bubblespawn_01.wav
  at java.net.URL.&lt;init&gt;(URL.java:586)
  at java.net.URL.&lt;init&gt;(URL.java:483)
  at java.net.URL.&lt;init&gt;(URL.java:432)
  at com.edu4java.minitennis7.SoundTest.main(SoundTest.java:10)
  </code></pre>
  
  <p>How do I fix this? Thank you!
   It seems that I need to add more lines to my code, </p>