Bonjour je n'arrive pas à intaller jvlc sous eclipse, je copie jvlc.jar dans le dossier de mon projet et ensuite j'ajoute à mon build path mais apparament ça ne suffit pas.

Quand j'essais d'executer il m'affiche ces erreurs :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jvlc in java.library.path
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:36)
 
at Test$1.mouseDown(Test.java:31)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.ve.internal.java.vce.launcher.remotevm.SWTLauncher.runEventLoop(SWTLauncher.java:497)
	at org.eclipse.ve.internal.java.vce.launcher.remotevm.SWTLauncher.runShell(SWTLauncher.java:469)
	at org.eclipse.ve.internal.java.vce.launcher.remotevm.SWTLauncher.launch(SWTLauncher.java:181)
	at org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher.main(JavaBeansLauncher.java:70)


Apparament il manquerait des trucs dans le buid path. Comment savoir si je .jar est bien incorporé dans le projet ?

Si ça vous tente d'essayer :
voici l'api JVLC : http://rapidshare.com/files/28407387/JVLC.rar (il faut cliquer sur bouton Free pour continuer le download).

le code que j'utilise pour tester :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
JVLC jvlc= new JVLC();
 
		        jvlc =jvcc.getJVLCObject();
 
 
 
		        try {
					jvlc.playlist.add("file:///home/poiex/University/pulp.mpg", "pulp.mpg");
					jvlc.playlist.play(); 
		        } catch (VLCException e1) {
					e1.printStackTrace();
				}
Voila merci d'avance