title: vlcj giving error after running this code
body: <p>i am working on vlcj trying to run video stream and this the code i used from this tutorial any idea how to fix this issue in the video he got the <em>vlcliber</em> path using <em>JFilechooser</em>
  but i change it to set the path directly </p>
  
  <p><a href="http://www.youtube.com/watch?v=orMgNh0o38A" rel="nofollow">lectur video</a> </p>
  
  <p>the first class </p>
  
  <pre><code>    /*
   * To change this license header, choose License Headers in Project Properties.
   * To change this template file, choose Tools | Templates
   * and open the template in the editor.
   */
  
  package video;
  
  import java.io.File;
  import javax.swing.JFileChooser;
  
  
  /**
   *
   * @author isslam
   */
  public class start {
      private static final JFileChooser ourFileSelector = new JFileChooser();
  
      public static void main(String[] args){
          String vlcPath="C:\\Program Files\\VideoLAN\\VLC";
          String mediaPath="";
          File ourFile;
  
  
          ourFileSelector.setFileSelectionMode(JFileChooser.FILES_ONLY);
          ourFileSelector.showSaveDialog(null);
          ourFile = ourFileSelector.getSelectedFile();
          mediaPath = ourFile.getAbsolutePath();
          new Tutorial2A(vlcPath,mediaPath).run();
      }
  }
  </code></pre>
  
  <p>the second class</p>
  
  <pre><code>/*
   * To change this license header, choose License Headers in Project Properties.
   * To change this template file, choose Tools | Templates
   * and open the template in the editor.
   */
  
  package video;
  
  /**
   *
   * @author isslam
   */
  import com.sun.jna.NativeLibrary;
  import javax.swing.JFrame;
  import uk.co.caprica.vlcj.component.EmbeddedMediaListPlayerComponent;
  import uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent;
  import uk.co.caprica.vlcj.runtime.RuntimeUtil;
  
      public class Tutorial2A {
          private final JFrame ourFrame = new JFrame();
          private final EmbeddedMediaPlayerComponent ourMediaPlayer;
          private String mediaPath="";
  
  
  
          Tutorial2A(String vlcPath,String mediaURL){
          this.mediaPath = mediaURL;
          NativeLibrary.addSearchPath(RuntimeUtil.getLibVlcLibraryName(),vlcPath);
          ourMediaPlayer = new EmbeddedMediaListPlayerComponent();
          ourFrame.setContentPane(ourMediaPlayer);
          ourFrame.setSize(500, 500);
          ourFrame.setVisible(true);
          ourFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  
          }
          public void run(){
          ourMediaPlayer.getMediaPlayer().playMedia(mediaPath);
          }
      }
  </code></pre>
  
  <p>error message </p>
  
  <pre><code>Exception in thread "main" java.lang.RuntimeException: Failed to initialise libvlc.
  
  This is most often caused either by an invalid vlc option begin passed when creating a MediaPlayerFactory or by libvlc being unable to locate the required plugins.
  
  If libvlc is unable to locate the required plugins the instructions below may help:
  
  In the text below &lt;libvlc-path&gt; represents the name of the directory containing "libvlc.dll" and "libvlccore.dll" and &lt;plugins-path&gt; represents the name of the directory containing the vlc plugins...
  
  For libvlc to function correctly the vlc plugins must be available, there are a number of different ways to achieve this:
   1. Make sure the plugins are installed in the "&lt;libvlc-path&gt;/plugins" directory, this should be the case with a normal vlc installation.
   2. Set the VLC_PLUGIN_PATH operating system environment variable to point to "&lt;plugins-path&gt;".
  
  More information may be available in the log, specify -Dvlcj.log=DEBUG on the command-line when starting your application.
  
  
      at uk.co.caprica.vlcj.player.MediaPlayerFactory.&lt;init&gt;(MediaPlayerFactory.java:279)
      at uk.co.caprica.vlcj.player.MediaPlayerFactory.&lt;init&gt;(MediaPlayerFactory.java:236)
      at uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent.onGetMediaPlayerFactory(EmbeddedMediaPlayerComponent.java:278)
      at uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent.&lt;init&gt;(EmbeddedMediaPlayerComponent.java:168)
      at uk.co.caprica.vlcj.component.EmbeddedMediaListPlayerComponent.&lt;init&gt;(EmbeddedMediaListPlayerComponent.java:50)
      at video.Tutorial2A.&lt;init&gt;(Tutorial2A.java:29)
      at video.start.main(start.java:30)
  Java Result: 1
  BUILD SUCCESSFUL (total time: 19 seconds)
  </code></pre>