[vlc-devel] Does JVLC crash? (For JVLC programmers)

Victor Fuertes Zanon vicfueza at teleco.upv.es
Wed Dec 12 13:49:03 CET 2007

Hi everybody,

I already posted this issue in the developer's mail list and sent a mail to
littejohn but I got no answer :(

I have developed a very simple videoconfence project using JVLC (stable
vlc-0.8.6c version) and a few weeks ago I decided to upgrade the JVLC version
to the newer one (subversion vlc-0.9.0 version). Unfortunately I found that the
version I downloaded didn't work... and, what it is worse, the problem persist.
I explain the error:

1) When you run VLCExample you get:

[code]fictorine at Mario:~/vlc-trunk3/bindings/java$ java VLCExample
== Starting VLCExample ==
Creating a JVLC instance without args[00000001] main libvlc debug: VLC media
player - version 0.9.0-svn Grishenko - (c) 1996-2007 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
'--enable-java-bindings' '--enable-wxwidgets' '--enable-v4l' '--enable-v4l2'
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to
use vlc without interface.
[00000001] main libvlc debug: translation test: code is "C"
Exception in thread "main" org.videolan.jvlc.VLCException: not implemented
        at org.videolan.jvlc.Audio._install_callback(Native Method)
        at org.videolan.jvlc.Audio.install_callaback(Audio.java:44)
        at org.videolan.jvlc.Audio.<init>(Audio.java:39)
        at org.videolan.jvlc.JVLC.<init>(JVLC.java:80)
        at VLCExample.main(VLCExample.java:26)[/code]

2) That's because, in callback-jni.cc, the code is:

[code]JNIEXPORT void JNICALL Java_org_videolan_jvlc_Audio__1install_1callback(
*env, jobject _this )
    if (jvm == NULL)
        env->GetJavaVM( &jvm );
        audioClass = env->GetObjectClass( _this );
        wakeupListenersMethod = env->GetStaticMethodID(audioClass,

    libvlc_exception_raise( &exception, "not implemented" );

It seems the JVLC class is under construction...

The questions are:

Do JVLC programmers know this bug? Are they working on it? When will it be
fixed? Can I help in any way?

Cheers, Fictorine.

EDIT: I'm using Ubuntu Gutsy Gibbon if this helps  :wink:

More information about the vlc-devel mailing list