Errors - compiling on eclipse no civil in java.library path

Hi

Anyone any idea how I might fix this?

David

Jan 17, 2013 6:26:12 AM net.sf.fmj.media.cdp.civil.CaptureDevicePlugger addCaptureDevices

WARNING: 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(NativeCap tureSystemFactory.java:24)

at net.sf.fmj.media.cdp.civil.CaptureDevicePlugger.addCaptureDevices(CaptureDevice Plugger.java:37)

at net.sf.fmj.media.cdp.GlobalCaptureDevicePlugger.addCaptureDevices(GlobalCapture DevicePlugger.java:18)

at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.scanDevices(Me diaPreferencePanel.java:122)

at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.(MediaPr eferencePanel.java:97)

at org.jivesoftware.sparkimpl.preference.media.MediaPreference.(MediaPrefere nce.java:33)

at org.jivesoftware.spark.preference.PreferenceManager.(PreferenceManager.ja va:59)

at org.jivesoftware.spark.SparkManager.getPreferenceManager(SparkManager.java:170)

at org.jivesoftware.spark.filetransfer.SparkTransferManager.(SparkTransferMa nager.java:181)

at org.jivesoftware.spark.filetransfer.SparkTransferManager.getInstance(SparkTrans ferManager.java:139)

at org.jivesoftware.spark.Workspace.buildLayout(Workspace.java:214)

at org.jivesoftware.LoginDialog$2.run(LoginDialog.java:1227)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.UnsatisfiedLinkError: no civil 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 com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCap tureSystemFactory.java:21)

… 25 more

Jan 17, 2013 6:26:15 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

at org.jivesoftware.spark.plugin.flashing.FlashingPreferenceDialog.(Flashing PreferenceDialog.java:62)

at org.jivesoftware.spark.plugin.flashing.FlashingPreference.(FlashingPrefer ence.java:40)

at org.jivesoftware.spark.plugin.flashing.FlashingPlugin.initialize(FlashingPlugin .java:34)

at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can’t find bundle for base name i18n/flashing_i18n, locale en_US

at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

at java.util.ResourceBundle.getBundleImpl(Unknown Source)

at java.util.ResourceBundle.getBundle(Unknown Source)

at org.jivesoftware.spark.plugin.flashing.FlashingResources.(FlashingResou rces.java:33)

… 18 more

log4j:WARN No appenders could be found for logger (org.jivesoftware.smackx.jingle.nat.STUN).

log4j:WARN Please initialize the log4j system properly.

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

at org.jivesoftware.spark.otrplug.pref.OTRPrefPanel.init(OTRPrefPanel.java:79)

at org.jivesoftware.spark.otrplug.pref.OTRPrefPanel.(OTRPrefPanel.java:57)

at org.jivesoftware.spark.otrplug.pref.OTRPreferences.(OTRPreferences.java:1 7)

at org.jivesoftware.spark.otrplug.OTRPlugin.initialize(OTRPlugin.java:25)

at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can’t find bundle for base name i18n/otrplugin_i18n, locale en_US

at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

at java.util.ResourceBundle.getBundleImpl(Unknown Source)

at java.util.ResourceBundle.getBundle(Unknown Source)

at org.jivesoftware.spark.otrplug.util.OTRResources.(OTRResources.java:23)

… 19 more

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

at org.jivesoftware.spark.roar.gui.RoarPreferencePanel$ColorTypes.(RoarPre ferencePanel.java:294)

at org.jivesoftware.spark.roar.gui.RoarPreferencePanel.(RoarPreferencePanel. java:80)

at org.jivesoftware.spark.roar.RoarPreference.(RoarPreference.java:49)

at org.jivesoftware.spark.roar.Roar.initialize(Roar.java:37)

at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can’t find bundle for base name i18n/roar_i18n, locale en_US

at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

at java.util.ResourceBundle.getBundleImpl(Unknown Source)

at java.util.ResourceBundle.getBundle(Unknown Source)

at org.jivesoftware.spark.roar.RoarResources.(RoarResources.java:15)

… 19 more

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Error unzipping plugin

java.io.FileNotFoundException: C:\Users\David\workspace\spark\bin (Access is denied)

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.(Unknown Source)

at java.util.zip.ZipFile.(Unknown Source)

at java.util.jar.JarFile.(Unknown Source)

at java.util.jar.JarFile.(Unknown Source)

at org.jivesoftware.sparkimpl.plugin.language.LanguagePlugin.initialize(LanguagePl ugin.java:75)

at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

at org.jivesoftware.spellchecker.SpellcheckerPreferenceDialog.(SpellcheckerP referenceDialog.java:103)

at org.jivesoftware.spellchecker.SpellcheckerPreference.(SpellcheckerPrefere nce.java:49)

at org.jivesoftware.spellchecker.SpellcheckManager.(SpellcheckManager.java:5 7)

at org.jivesoftware.spellchecker.SpellcheckManager.getInstance(SpellcheckManager.j ava:46)

at org.jivesoftware.spellchecker.SpellcheckerPlugin.initialize(SpellcheckerPlugin. java:39)

at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can’t find bundle for base name i18n/spellchecker_i18n, locale en_US

at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

at java.util.ResourceBundle.getBundleImpl(Unknown Source)

at java.util.ResourceBundle.getBundle(Unknown Source)

at org.jivesoftware.spellchecker.SpellcheckerResource.(SpellcheckerResourc e.java:34)

… 20 more

Exception in thread “AWT-EventQueue-0” java.lang.ExceptionInInitializerError

at org.jivesoftware.fastpath.FastpathPlugin$1.run(FastpathPlugin.java:88)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can’t find bundle for base name i18n/fastpath_i18n, locale en_US

at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

at java.util.ResourceBundle.getBundleImpl(Unknown Source)

at java.util.ResourceBundle.getBundle(Unknown Source)

at org.jivesoftware.fastpath.FpRes.(FpRes.java:41)

… 15 more

I happened to come into this. Apparently the first problem is due to the civil.dll not placed in the right directory. just copy it from the source to the bin dir of jre will fix it.

second one is a little tricky because the code reading i18n info in the language plugin is a little messy with the i18n dir, it assumes the i18n is put in the spark.jar, however when debugging those files were actually in the classes/i18n dir. modifying the source would fix the problem.