[vlc-devel] Needing help
Filippo Carone
filippo at carone.org
Mon Jul 28 16:01:55 CEST 2008
Moussa Kandalaf wrote:
> I everyone, I did everything you put here and I got this:
>
> |java -classpath jna-3.0.2.jar:jvlc-core-0.9.0-SNAPSHOT.jar
> -Djna.library.path=/opt/vlc-plugins-2008-07-27
> org.videolan.jvlc.example.VLCExample
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/slf4j/LoggerFactory
> at
> org.videolan.jvlc.event.MediaPlayerCallback.<init>(MediaPlayerCallback.java:49)
> at org.videolan.jvlc.MediaPlayer.addListener(MediaPlayer.java:156)
> at org.videolan.jvlc.example.VLCExample.main(VLCExample.java:35)
> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
> ... 3 more
> |
>
> I'm running vlc under ubuntu 8.04.1
>
> Does any knows what can I do to fix this problem and make run the example?
>
Hi,
your log shows several problems:
1. your libvlc cannot find plugins
2. you are missing the slf4j library.
For problem 1, check your environment, for problem 2 use maven (mvn
install) or download the latest jar from http://trac.videolan.org/jvlc .
Cheers,
Filippo
More information about the vlc-devel
mailing list