[vlc-devel] JVLC

Filippo Carone filippo at carone.org
Mon Aug 4 15:08:09 CEST 2008


Javier Gálvez Guerrero wrote:
> Hi all,
>
> I have tried launching JVLC jar just for a test and it fails with the 
> following exception:
>
> dulceangustia at spike:~/Escritorio$ java 
> jvlc-core-0.9.0-SNAPSHOT-20080727.jar -Djna.library.path=/usr/lib
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> jvlc-core-0/9/0-SNAPSHOT-20080727/jar
> Caused by: java.lang.ClassNotFoundException: 
> jvlc-core-0.9.0-SNAPSHOT-20080727.jar
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>
> I've read the instructions from the JVLC site and the FAQ there and I 
> don't seem to have the libvlc-control file in my computer:
>
> dulceangustia at spike:~/Escritorio$ ldconfig -p | grep libvlc  
>              libvlc.so.0 (libc6) => /usr/lib/libvlc.so.0
>
> I don't know if my problem is due to this issue. Anyway, I have VLC 
> 0.8.6e in my Ubuntu laptop and it runs without any problem at all.
>
>
> Could anybody please help me? I'm quite interested in using this 
> library in a streaming application development.
>

You should use java -jar option. The library itself is not runnable. 
Please clone the vlc git repo, and follow the instructions on the site 
to get the bindings into eclipse.

Cheers,
Filippo




More information about the vlc-devel mailing list