[HELP] JVLC can't run ??? both demo, or binary package

Just have a drink and chat
kthjoseph
New Cone
New Cone
Posts: 5
Joined: 24 Apr 2007 06:47

[HELP] JVLC can't run ??? both demo, or binary package

Postby kthjoseph » 24 Apr 2007 06:54

I am going to try your demo program in Window and Linux. Unfortunately, I am suffering in the following problem.
I have just unzip the package and create a run.bat, which is going to execute the code -- "java -Djava.library.path=. SwingClient".
After I clicked on the run.bat, the following exception occured.

Exception in thread "main" java.lang.UnsatisfiedLinkError: D:\Programming Tech_o
ffice\External API Tech\Java Media Framework\VLC media player\Java VLC\Windows X
86\Binary\jvlc-win32-060612\jvlc.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
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:39)
at org.videolan.jvlc.JVLCCanvas.<init>(JVLCCanvas.java:44)
at org.videolan.jvlc.JVLCPanel.<init>(JVLCPanel.java:42)
at VLCPlayerFrame.initComponents(SwingClient.java:48)
at VLCPlayerFrame.<init>(SwingClient.java:35)
at SwingClient.main(SwingClient.java:169)

After I have tried to run your Demo, I found this exception and I can't find what is the reason.
Thus, I tried to download the other package "jvlc-0.9.0-20070310-win32.zip". The SwingClient, VLCExample are also existing.
But, there is little bit different to the above binary version. For instance, the binary version do not have any VLCException.
I have tried this package's VLCExample, I am suffering in other problem. The compiler tell me that
"Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers."

In addition, I have also tried to compile the Source example, which is provided in Window Binary package. The example still can't run.
It told me that
"#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c901277, pid=128, tid=924
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed mode, sharing)
# Problematic frame:
# C [ntdll.dll+0x1277]
#
# An error report file with more information is saved as hs_err_pid128.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#"

Finally, I tried the binary version "jvlc-binary-linux-x86-20060801.tar.tar" and "jvlc-0.9.0.20070225-linux-x86_64-libs.tar.tar".

jvlc-binary-linux-x86-20060801.tar.tar : When I tried to run the jar file in the binary version package, it throw UnsatisfiedLinkError, the reason is that it can't found or open "libdvdpsi.so.4".
"vlc-0.9.0.20070225-linux-x86_64-libs.tar.tar : The package also can't run, it told me that the native library is 64 bits. Unfortunately, my linux is 32 bits.

As a result, I am writing to ask you how can I use your product JVLC? I am going to develop a JAVA Application which have a Client Media Player for playing a WMV streaming media.
The Application should run on Linux and Window. Thus, I have found that the most powerfull player for both platform is VLC. Would you mind to teach me how to use your product? And
Would you mind to send me another package to me for demostraction in both platform? I want to add the player frame in to my own frame!!

Thanks you very much!

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Postby CloudStalker » 24 Apr 2007 07:23

Thanks you very much!
You're welcome. :D

That's the type of response one gets when he/she double-posts. :P

I know, I'm horrible!!! 8)

dustman
New Cone
New Cone
Posts: 3
Joined: 14 May 2008 14:51

Re: [HELP] JVLC can't run ??? both demo, or binary package

Postby dustman » 14 May 2008 14:53

hello!

i'm having the same problem. I get a java.lang.UnsatisfiedLinkError: jvlc.dll: Can't find dependent libraries :|. Any help please?

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: [HELP] JVLC can't run ??? both demo, or binary package

Postby 3breadt » 20 May 2008 19:16

Isn't that error self-explanatory? You also could just have googled for UnsatisfiedLinkError.
But to easify your life: You need to have a compiled jvlc.dll (and I think libvlc.dll is also necessary) either in %windir%/System32 or directly in the directory from which you execute java to run the classes.
-- 3breadt (aka altglass)

saurabh
Blank Cone
Blank Cone
Posts: 25
Joined: 05 Aug 2008 08:19
Operating System: Linux
Location: Pune, India

Re: [HELP] JVLC can't run ??? both demo, or binary package

Postby saurabh » 05 Aug 2008 16:03

is th version of JVLC problematic...?
Cause though I hv put both of th dlls it is still giving th same exception..
Wht might be th problem.. ?

saurabh
Blank Cone
Blank Cone
Posts: 25
Joined: 05 Aug 2008 08:19
Operating System: Linux
Location: Pune, India

Re: [HELP] JVLC can't run ??? both demo, or binary package

Postby saurabh » 06 Aug 2008 07:32

Hi kthjoseph...
if u still check this forum please tell me how did u resolve that problem with jvlc.. ?
I am getting the same exception as follows :

#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x62e4f1b5, pid=4580, tid=6020
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing windows-x86)
# Problematic frame:
# C [libvlc.dll+0x8f1b5]
#
# An error report file with more information is saved as:
# D:\Saurabh\workspace\eclipse\workspace\vlcjava\hs_err_pid4580.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


I kno its been a long time but here I am starting late to be working on JVLC..
So please if u could help it will be very appreciated ..
Thank you in advance...

saurabh
Blank Cone
Blank Cone
Posts: 25
Joined: 05 Aug 2008 08:19
Operating System: Linux
Location: Pune, India

Re: [HELP] JVLC can't run ??? both demo, or binary package

Postby saurabh » 07 Aug 2008 13:52

Hi folks wht is this error :

UnsatisfiedLinkError: fontmanager.dll Specified procedure could not be found...

Help plz...


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 8 guests