Hi folks..
I am using a precompiled jvlc on winXP..
Now my application is running smooth..
But when I create 'jar' for my application it gives following error while running from command promt..
F:\Client\jvlc-player>java -jar jvlc-player.jar
vlc: unknown option or missing mandatory argument `-j'
Try `vlc --help' for more information.
The command line options couldn't be loaded, check that they are valid
Press the RETURN key to continue...
When I hit return it creates th following
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x62e4e49b, pid=6076, tid=528
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode, sharing)
# Problematic frame:
# C [libvlc.dll+0x8e49b]
#
# If you would like to submit a bug report, please visit:
#
http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x03159c00): JavaThread "Thread-2" [_thread_in_native, id=528]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000004
Registers:
EAX=0x00000000, EBX=0x0037dbd8, ECX=0x030ffa64, EDX=0x00000000
ESP=0x030ff870, EBP=0x030ff8a8, ESI=0x269b5930, EDI=0x03159cec
EIP=0x62e4e49b, EFLAGS=0x00010202
Top of Stack: (sp=0x030ff870)
0x030ff870: 03159cec 030ff918 02ac2ec0 030ff89c
0x030ff880: 00000000 77c12088 030ff8a8 70441211
0x030ff890: 03159cec 030ff918 02ac2ec0 704a401f
0x030ff8a0: 0037dbd8 269b5930 030ff8c8 70442f73
0x030ff8b0: 00000000 0037dbd8 269b5930 269b5930
0x030ff8c0: 269b5930 03159c00 030ff908 0091a440
0x030ff8d0: 03159cec 030ff918 03159c00 6d92ab50
0x030ff8e0: 03159c00 00000006 030ff8e8 269b5930
Instructions: (pc=0x62e4e49b)
0x62e4e48b: 0a 00 8d 76 00 55 89 e5 56 53 83 ec 30 8b 45 08
0x62e4e49b: 8b 58 04 85 db 0f 84 7f 00 00 00 8b 53 20 85 d2
Stack: [0x030b0000,0x03100000), sp=0x030ff870, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libvlc.dll+0x8e49b]
C [jvlc.dll+0x2f73]
j org.videolan.jvlc.Playlist._isRunning()I+0
j org.videolan.jvlc.Playlist.isRunning()Z+1
j org.videolan.jvlc.JVLC.run()V+11
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.videolan.jvlc.Playlist._isRunning()I+0
j org.videolan.jvlc.Playlist.isRunning()Z+1
j org.videolan.jvlc.JVLC.run()V+11
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x03159c00 JavaThread "Thread-2" [_thread_in_native, id=528]
0x02ae0800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5916]
0x02ade000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1380]
0x02a7c800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6068]
0x02a78000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5656]
0x02a76c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3668]
0x02a75c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1388]
0x02a6e000 JavaThread "Finalizer" daemon [_thread_blocked, id=4328]
0x02a6d000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5908]
0x00296000 JavaThread "main" [_thread_in_native, id=5784]
Other Threads:
0x02a63c00 VMThread [id=2672]
0x02a7e000 WatcherThread [id=3312]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 314K [0x22990000, 0x22a90000, 0x22e70000)
eden space 896K, 27% used [0x22990000, 0x229ce8c8, 0x22a70000)
from space 64K, 100% used [0x22a80000, 0x22a90000, 0x22a90000)
to space 64K, 0% used [0x22a70000, 0x22a70000, 0x22a80000)
tenured generation total 4096K, used 393K [0x22e70000, 0x23270000, 0x26990000)
the space 4096K, 9% used [0x22e70000, 0x22ed2708, 0x22ed2800, 0x23270000)
compacting perm gen total 12288K, used 209K [0x26990000, 0x27590000, 0x2a990000)
the space 12288K, 1% used [0x26990000, 0x269c46f0, 0x269c4800, 0x27590000)
ro space 8192K, 66% used [0x2a990000, 0x2aedd978, 0x2aedda00, 0x2b190000)
rw space 12288K, 52% used [0x2b190000, 0x2b7d9cb8, 0x2b7d9e00, 0x2bd90000)
Dynamic libraries:
0x00400000 - 0x00423000 C:\Program Files\Java\jdk1.6.0_02\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\msvcr71.dll
0x6d870000 - 0x6dab9000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x6d3c0000 - 0x6d3c8000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d820000 - 0x6d82c000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\verify.dll
0x6d460000 - 0x6d47f000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\java.dll
0x6d860000 - 0x6d86f000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\zip.dll
0x6d0b0000 - 0x6d273000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x62dc0000 - 0x63068000 F:\Client\jvlc-player\libvlc.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.DLL
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x6d360000 - 0x6d3b3000 C:\Program Files\Java\jdk1.6.0_02\jre\bin\fontmanager.dll
0x651b0000 - 0x651d2000 C:\PROGRA~1\COMMON~1\SYMANT~1\ANTISPAM\ASOEHOOK.DLL
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x6af90000 - 0x6afee000 c:\Program Files\Common Files\Symantec Shared\ccL40.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x7c3a0000 - 0x7c41b000 C:\WINDOWS\system32\MSVCP71.dll
0x7c9c0000 - 0x7d1d4000 C:\WINDOWS\system32\shell32.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\comctl32.dll
0x70440000 - 0x70744000 F:\Client\jvlc-player\jvlc.dll
0x02fa0000 - 0x02fa6000 C:\Program Files\Java\jre1.5.0_06\bin\jawt.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
0x660c0000 - 0x660cd000 F:\Client\jvlc-player\plugins\libdirect3d_plugin.dll
0x666c0000 - 0x666cb000 F:\Client\jvlc-player\plugins\libglwin32_plugin.dll
0x5ed00000 - 0x5edcc000 C:\WINDOWS\system32\OPENGL32.DLL
0x68b20000 - 0x68b40000 C:\WINDOWS\system32\GLU32.dll
0x6bc00000 - 0x6bc10000 F:\Client\jvlc-player\plugins\libvout_directx_plugin.dll
VM Arguments:
java_command: jvlc-player.jar
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Program Files\Java\jdk1.6.0_02\bin;C:\Program Files\Java\jdk1.6.0_02\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\HPQ\IAM\bin;C:\Program Files\Java\jre1.5.0_06\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 72 Stepping 2, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 72 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext
Memory: 4k page, physical 916844k(298832k free), swap 2219360k(1612764k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0_02-b06) for windows-x86, built on Jul 12 2007 01:16:14 by "java_re" with unknown MS VC++:1310
EOF
Plus double clicking th file gives this error...
Could not find main class. Program will exit..
so wht do u think guys..
Why such thing is happening with jar file only.. ?
Please help me..
Thanks in advance...