[vlc] JVLC problem
Javier Gálvez Guerrero
dulceangustia at gmail.com
Tue Dec 4 16:54:36 CET 2007
Hi all,
I am trying to develop a Java application with VLC embedded, so I downloaded
the java jar library file from here
<http://trac.videolan.org/jvlc/wiki/download>and added it to my Eclipse
project library build path. Next, I have tried to run the example
VLCExample.java<http://trac.videolan.org/vlc/browser/trunk/bindings/java/VLCExample.java>to
see how it works, but then the following errors appeared before
showing
anything:
Class File Editor
Source not found
The source attachment does not contains the source for the file JVLC.class.
You can change the source attachment by clicking...
// Compiled from JVLC.java (version 1.1 : 45.3, super bit)
public class org.videolan.jvlc.JVLC implements java.lang.Runnable {
// Field descriptor #8 J
private final long _instance;
// Field descriptor #10 Lorg/videolan/jvlc/Playlist;
public final org.videolan.jvlc.Playlist playlist;
// Field descriptor #12 Lorg/videolan/jvlc/Video;
public final org.videolan.jvlc.Video video;
// Field descriptor #14 Lorg/videolan/jvlc/Audio;
public final org.videolan.jvlc.Audio audio;
...
...
Then, which are the files Eclipse is looking for? Because I have downloaded
the VLC source code from here <http://trac.videolan.org/vlc/browser/trunk>(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.
== Starting VLCExample ==
Creating a JVLC instance without argsException in thread "main"
java.lang.UnsatisfiedLinkError: no jvlc in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:36)
at test.JVLCTest.main(JVLCTest.java:26)
Do you know what should I do?
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.
Thanks a lot. Your help is much appreciated,
Javi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20071204/882fc77d/attachment.html>
More information about the vlc
mailing list