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).