[vlc-devel] Problems with Java Bindings

Victor Fuertes Zanon vicfueza at teleco.upv.es
Tue Oct 16 00:13:05 CEST 2007


Hi everybody,

I'm interested in a Mac OS X port of JVLC, and surely I will try to build it in
the future, but, first of all, I want to see "VLCExample" and "VlcClient"
running on Ubuntu and try to understand how they work.

Unfortunately I can't run them :(

I have compiled VLC sucessfully but Java Bindings don't work. I paste two
messages I wrote on the official VLC Forums and I think they fit better on this
mail-list:

The first one
-------------

Hi everybody,

I'm trying to run VLCExample but I have found a problem. I paste a screenshot:

fictorine at fictorine-desktop:~/PFC/vlc-0.8.6c/bindings/java$ java VLCExample
[00000271] main interface error: no interface module matched "hotkeys,none"
[00000271] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000272] main interface error: no interface module matched "screensaver,none"
[00000272] main interface error: no suitable interface module
[00000001] main private error: interface "screensaver,none" initialization
failed
[00000276] main access error: no access2 module matched "file"
[00000273] main input error: no suitable access module for
`file:///home/fictorine/PFC/vlc-0.8.6c/bindings/java/a.avi'
[00000280] main access error: no access2 module matched "file"
[00000278] main input error: no suitable access module for
`file:///home/fictorine/PFC/vlc-0.8.6c/bindings/java/a.mp3'
[00000269] main playlist: nothing to play

I have looked for some info and I have only found that the problem is that JVLC
can't access to some modules and plugins. Unfortunately, I don't know how to
solve it :(

I have used a Ubuntu 7.04 and I have compiled VLC myself by doing:

1º) Create a new folder in vlc-trunk/bindins/java: includes
2ª) make libjvlc.so in vlc-trunk/bindins/java
>From vlc-trunk:
3º) sudo apt-get build-dep vlc
4º) ./configure --enable-java-bindings
5º) make
6º) make clean

If someone can give me a hint... thanks in advance!

Fictorine

The second one
--------------

Nobody can give me a hint... :cry:

I add the lines I get when I try to run VlcClient:

fictorine at fictorine-desktop:~/Desktop/vlc-0.8.6c/bindings/java$ java
-Djava.library.path=. VlcClient
[00000271] main interface error: no interface module matched "hotkeys,none"
[00000271] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000272] main interface error: no interface module matched "screensaver,none"
[00000272] main interface error: no suitable interface module
[00000001] main private error: interface "screensaver,none" initialization
failed

I can see the VlcClient window but I can't do anything. Any idea???

If anyone has compiled and run Java Bindings I would be very happy to listen
how...

Cheers, Fictorine.

Sorry for the massive mail but I'm quite desperate!

Regards, Fictorine




More information about the vlc-devel mailing list