This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have an aplication in java wich run videos by jvlc. The application run perfectly on ubuntu, but on windows xp or Windows 7 he give me this error:
java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc'.
Somebody can help-me?
You need to make sure that Java can find the native libraries that the program you're trying to run needs. One way to do that is to add the directory that contains the DLLs to the PATH, another way is to use the -Djava.library.path=<directory name> switch on the command line when you run your Java program. For example:
and you have a library called libvlc.dll in directory C:\myproject? Does that DLL try to load other DLLs that you also need to have in the PATH somewhere? Are you sure that the DLL works for your version of Windows (it might be, for example, that the DLL you have is 64-bit while you have 32-bit Windows, or 32-bit Java on 64-bit Windows).
Joined: Dec 14, 2010
Now he give me another error, something like that: " Problematic frame c libvlcore" and kill the aplication