I have built one video application using jvlc(Some video libraries..).. but when I run it by creating a jar file it doesnt respond... I am able to run it without creating jar file very finely(from command prompt)... jvlc is API provided by VideoLan So could anyone please tell how do i bundle my application in jar file.. And where to keep all th libraries (dlls)..
Th error log shows this...
# An error report file with more information is saved as hs_err_pid3768.log # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x62e4e49b, pid=3768, tid=1616 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_16-b02 mixed mode, sharing) # Problematic frame: # C [libvlc.dll+0x8e49b] #
--------------- T H R E A D ---------------
Current thread (0x02c66620): JavaThread "Thread-2" [_thread_in_native, id=1616]
Stack: [0x02fe0000,0x03020000), sp=0x0301fb10, free space=254k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libvlc.dll+0x8e49b] C[thread 3808 also had an error] [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 V [jvm.dll+0x875fa] V [jvm.dll+0xdfe2c] V [jvm.dll+0x874cb] V [jvm.dll+0x87228] V [jvm.dll+0xa2093] V [jvm.dll+0x111379] V [jvm.dll+0x111347] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb50b]
Other Threads: 0x00a6d7f0 VMThread [id=3524] 0x00a72d30 WatcherThread [id=3936]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap def new generation total 576K, used 546K [0x22bd0000, 0x22c70000, 0x230b0000) eden space 512K, 94% used [0x22bd0000, 0x22c48a98, 0x22c50000) from space 64K, 100% used [0x22c60000, 0x22c70000, 0x22c70000) to space 64K, 0% used [0x22c50000, 0x22c50000, 0x22c60000) tenured generation total 1408K, used 177K [0x230b0000, 0x23210000, 0x26bd0000) the space 1408K, 12% used [0x230b0000, 0x230dc688, 0x230dc800, 0x23210000) compacting perm gen total 8192K, used 196K [0x26bd0000, 0x273d0000, 0x2abd0000) the space 8192K, 2% used [0x26bd0000, 0x26c013b8, 0x26c01400, 0x273d0000) ro space 8192K, 67% used [0x2abd0000, 0x2b132640, 0x2b132800, 0x2b3d0000) rw space 12288K, 47% used [0x2b3d0000, 0x2b97f8a0, 0x2b97fa00, 0x2bfd0000)