problem with tuto of jvcl [SOLVED]
Posted: 06 Jun 2011 04:08
hi
i try to launch the 'myplayer.java' test thanks to this tuto but i have a crash, the console says it doesn't find libvlc:
but no way, nothing happens.
I see my version of VLC is 1.1.9. I guess vlcj works only with vlc 1.2.0? But where can i get it? i don't find it
i try to launch the 'myplayer.java' test thanks to this tuto but i have a crash, the console says it doesn't find libvlc:
so i follow the advices:The required native libraries are named "libvlc.dll" and "libvlccore.dll".
In the text below <libvlc-path> represents the name of the directory containing "libvlc.dll" and "libvlccore.dll".
There are a number of different ways to specify where to find the native libraries:
1. Include NativeLibrary.addSearchPath("libvlc", "<libvlc-path>"); at the start of your application code.
2. Include System.setProperty("jna.library.path", "<libvlc-path>"); at the start of your application code.
3. Specify -Djna.library.path=<libvlc-path> on the command-line when starting your application.
4. Add <libvlc-path> to the system search path (and reboot).
change the path and reboot
include System.setProperty("jna.library.path", "C:/Program Files (x86)/VideoLAN/VLC"); in the main application
add -Djna.library.path="C:\Program Files (x86)\VideoLAN\VLC" to the argument of the program argument
but no way, nothing happens.
I see my version of VLC is 1.1.9. I guess vlcj works only with vlc 1.2.0? But where can i get it? i don't find it