title: simple 3d code which throws exception!
body: <p>I have found a code in the internet but really I don't know that for what it throws these exceptions,please help me !really I need your help thanks.</p>
  
  <pre><code>run:
  java.lang.UnsupportedOperationException: No AudioDevice specified
          at com.sun.j3d.utils.universe.Viewer.createAudioDevice(Viewer.java:986)
          at javaapplication17.WrapShooter3D.&lt;init&gt;(WrapShooter3D.java:54)
          at javaapplication17.Shooter3D.&lt;init&gt;(Shooter3D.java:25)
          at javaapplication17.Shooter3D.main(Shooter3D.java:38)
      Java 3D: audio is disabled
      Exception in thread "main" com.sun.j3d.utils.image.ImageException: javax.imageio.IIOException: Can't read input file!
          at com.sun.j3d.utils.image.TextureLoader$1.run(TextureLoader.java:344)
          at java.security.AccessController.doPrivileged(Native Method)
          at com.sun.j3d.utils.image.TextureLoader.&lt;init&gt;(TextureLoader.java:337)
          at com.sun.j3d.utils.image.TextureLoader.&lt;init&gt;(TextureLoader.java:291)
          at javaapplication17.GunTurret.stoneApp(GunTurret.java:58)
          at javaapplication17.GunTurret.&lt;init&gt;(GunTurret.java:43)
          at javaapplication17.WrapShooter3D.makeGun(WrapShooter3D.java:167)
          at javaapplication17.WrapShooter3D.createSceneGraph(WrapShooter3D.java:79)
          at javaapplication17.WrapShooter3D.&lt;init&gt;(WrapShooter3D.java:56)
          at javaapplication17.Shooter3D.&lt;init&gt;(Shooter3D.java:25)
          at javaapplication17.Shooter3D.main(Shooter3D.java:38)
      Caused by: javax.imageio.IIOException: Can't read input file!
          at javax.imageio.ImageIO.read(ImageIO.java:1275)
          at com.sun.j3d.utils.image.TextureLoader$1.run(TextureLoader.java:342)
          ... 10 more
  </code></pre>
  
  <p>_   java.lang.UnsupportedOperationException: No AudioDevice specified</p>
  
  <p>at lines: </p>
  
  <pre><code> AudioDevice audioDev = su.getViewer().createAudioDevice();
      WrapShooter3D w3d = new WrapShooter3D();
      javax.imageio.IIOException: Can't read input file!
      { new Shooter3D(); }
  </code></pre>
  
  <p>_     Java 3D: audio is disabled
        Exception in thread "main" com.sun.j3d.utils.image.ImageException:</p>
  
  <p>at lines:</p>
  
  <pre><code> TextureLoader stoneTex = new TextureLoader("images/stone.jpg", null);
   Appearance apStone = stoneApp();
   GunTurret gun = new GunTurret(startVec);
   makeGun(canvas3D);
   createSceneGraph(canvas3D);
   WrapShooter3D w3d = new WrapShooter3D();
   { new Shooter3D(); }
  </code></pre>
  
  <p>_ Caused by: javax.imageio.IIOException: Can't read input file!</p>
  
  <p>at lines:</p>
  
  <pre><code>throw new IIOException("Can't read input file!");
  </code></pre>