Spark no civil in java.library.path完璧なソリューション
最近spark+openfireでインスタント通信ツールを開発していますが、SVNでsparkのソースコードをダウンロードしてコンパイルしています.
間違いはcivilというファイルが見つからず、ネットで多くの資料を探しても解決できず、最後に切り札を出すしかなく、sparkの下のwindowフォルダの下のdll文化をすべてjdkのbinディレクトリの下に入れて、問題解決^^;
2010-8-2 17:13:48 net.sf.fmj.media.cdp.civil.CaptureDevicePlugger addCaptureDevices
: com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: no civil in java.library.path
com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: no civil in java.library.path
at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:24)
at net.sf.fmj.media.cdp.civil.CaptureDevicePlugger.addCaptureDevices(CaptureDevicePlugger.java:37)
at net.sf.fmj.media.cdp.GlobalCaptureDevicePlugger.addCaptureDevices(GlobalCaptureDevicePlugger.java:18)
at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.scanDevices(MediaPreferencePanel.java:110)
at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.<init>(MediaPreferencePanel.java:87)
at org.jivesoftware.sparkimpl.preference.media.MediaPreference.<init>(MediaPreference.java:33)
at org.jivesoftware.spark.preference.PreferenceManager.<init>(PreferenceManager.java:58)
at org.jivesoftware.spark.SparkManager.getPreferenceManager(SparkManager.java:170)
at org.jivesoftware.spark.filetransfer.SparkTransferManager.<init>(SparkTransferManager.java:181)
at org.jivesoftware.spark.filetransfer.SparkTransferManager.getInstance(SparkTransferManager.java:139)
at org.jivesoftware.spark.Workspace.buildLayout(Workspace.java:212)
at org.jivesoftware.LoginDialog$2.run(LoginDialog.java:1077)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.UnsatisfiedLinkError: no civil in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:21)
... 19 more
javasound: :0
LINEAR, Unknown Sample Rate, 16-bit, Stereo, LittleEndian, Signed, FrameSize=32 bits
LINEAR, Unknown Sample Rate, 16-bit, Stereo, BigEndian, Signed, FrameSize=32 bits
LINEAR, Unknown Sample Rate, 8-bit, Stereo, Unsigned, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 8-bit, Stereo, Signed, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 16-bit, Mono, LittleEndian, Signed, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 16-bit, Mono, BigEndian, Signed, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 8-bit, Mono, Unsigned, FrameSize=8 bits
LINEAR, Unknown Sample Rate, 8-bit, Mono, Signed, FrameSize=8 bits
javasound: ??(Realtek High Definition A:1
LINEAR, Unknown Sample Rate, 16-bit, Stereo, LittleEndian, Signed, FrameSize=32 bits
LINEAR, Unknown Sample Rate, 16-bit, Stereo, BigEndian, Signed, FrameSize=32 bits
LINEAR, Unknown Sample Rate, 8-bit, Stereo, Unsigned, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 8-bit, Stereo, Signed, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 16-bit, Mono, LittleEndian, Signed, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 16-bit, Mono, BigEndian, Signed, FrameSize=16 bits
LINEAR, Unknown Sample Rate, 8-bit, Mono, Unsigned, FrameSize=8 bits
LINEAR, Unknown Sample Rate, 8-bit, Mono, Signed, FrameSize=8 bits
間違いはcivilというファイルが見つからず、ネットで多くの資料を探しても解決できず、最後に切り札を出すしかなく、sparkの下のwindowフォルダの下のdll文化をすべてjdkのbinディレクトリの下に入れて、問題解決^^;