Hi all,<br><br>I am trying to develop a Java application with VLC embedded, so I downloaded the java jar library file from <a href="http://trac.videolan.org/jvlc/wiki/download">here </a>and added it to my Eclipse project library build path. Next, I have tried to run the example
<a href="http://trac.videolan.org/vlc/browser/trunk/bindings/java/VLCExample.java">VLCExample.java</a> to see how it works, but then the following errors appeared before showing anything:<br><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Class File Editor</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Source not found
</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">The source attachment does not contains the source for the file JVLC.class
. </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">You can change the source attachment by clicking...</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">// Compiled from JVLC.java (version 1.1 : 45.3, super bit)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">public class
org.videolan.jvlc.JVLC implements java.lang.Runnable {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
// Field descriptor #8 J</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> private final long _instance;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> // Field descriptor #10 Lorg/videolan/jvlc/Playlist;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
public final org.videolan.jvlc.Playlist playlist;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
// Field descriptor #12 Lorg/videolan/jvlc/Video;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> public final org.videolan.jvlc.Video video;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> // Field descriptor #14 Lorg/videolan/jvlc/Audio;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> public final org.videolan.jvlc.Audio audio;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ...</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">...</span><br><br>Then, which are the files Eclipse is looking for? Because I have downloaded the VLC source code from <a href="http://trac.videolan.org/vlc/browser/trunk">
here </a>(all the files and folders here) and linked many subfolders called src (to check all possibilites even nonsense ones...) but I have not been able to execute it properly and the previous error messages are appearing again and again.
<br><br>== Starting VLCExample ==<br>Creating a JVLC instance without argsException in thread "main" java.lang.UnsatisfiedLinkError: no jvlc in java.library.path<br> at java.lang.ClassLoader.loadLibrary(Unknown Source)
<br> at java.lang.Runtime.loadLibrary0(Unknown Source)<br> at java.lang.System.loadLibrary(Unknown Source)<br> at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:36)<br> at test.JVLCTest.main(JVLCTest.java:26)
<br><br>Do you know what should I do?<br><br>By the way, I had to delete the import and coding lines referring to listener.VolumeListener and those with setChannel(x) method as they are not recognized and not added in the jar library.
<br><br>Thanks a lot. Your help is much appreciated,<br>Javi