[jitsi-dev] Unsatisfied Link Error in jnawtrenderer.dll and JNI version


#1

Hello,
I'm trying to run jitsi from within Eclipse, as explained in the wiki.

I get 2 errors:
java.lang.UnsatisfiedLinkError: C:\Users\asoliver\work\vodafone\src\jitsi\jitsi\lib\native\windows-64\jnawtrenderer.dll: Can't find dependent libraries

java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required by C:\Users\asoliver\work\vodafone\src\jitsi\jitsi\lib\native\windows-64\jmsofficecomm.dll

I have jdk-7u17-windows-x64 installed. Is that version supported, or should I install a previous one?

jnawtrenderer.dll is in the mentioned dir. Do I need other library, or how can I tell which dependent library is missing there?

Thanks!

Regards,
Alvaro

Here's the whole console log.

Hotplug cache populated with: '\\?\hdaudio#func_01&ven_8384&dev_7680&subsys_83847680&rev_1034#4&31e60982&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\ecdinwave'
Hotplug cache populated with: '\\?\hdaudio#func_01&ven_8384&dev_7680&subsys_83847680&rev_1034#4&31e60982&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\eheadphonewave'
Hotplug cache populated with: '\\?\hdaudio#func_01&ven_8384&dev_7680&subsys_83847680&rev_1034#4&31e60982&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\emicinwave'
Hotplug cache populated with: '\\?\hdaudio#func_01&ven_8384&dev_7680&subsys_83847680&rev_1034#4&31e60982&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\espeakerwave'
before paHostApiInitializers[0].
after paHostApiInitializers[0].
11:34:44.150 SEVERE: [14] org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: C:\Users\asoliver\work\vodafone\src\jitsi\jitsi\lib\native\windows-64\jnawtrenderer.dll: Can't find dependent libraries
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
  at java.lang.Runtime.loadLibrary0(Runtime.java:845)
  at java.lang.System.loadLibrary(System.java:1084)
  at org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:188)
  at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:797)
  at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:270)
  at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:122)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
  at java.lang.Class.newInstance0(Class.java:374)
  at java.lang.Class.newInstance(Class.java:327)
  at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:132)
  at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:85)
  at orgjitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
  at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
  at net.java.sip.communicator.impl.neomedia.NeomediaActivator.start(NeomediaActivator.java:380)
  at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
  at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
  at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
  at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
  at java.lang.Thread.run(Thread.java:722)
Pa_StartStream: waveInStart returned = 0x0.
11:34:49.288 SEVERE: [14] plugin.addrbook.AddrBookActivator.startService().201 Failed to instantiate net.java.sip.communicator.plugin.addrbook.msoutlook.MsOutlookAddrBookContactSourceService reason:MAPI_E_NO_SUPPORT
java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required by C:\Users\asoliver\work\vodafone\src\jitsi\jitsi\lib\native\windows-64\jmsofficecomm.dll
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.langClassLoader.loadLibrary1(ClassLoader.java:1939)
  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
  at java.lang.Runtime.loadLibrary0(Runtime.java:845)
  at java.lang.System.loadLibrary(System.java:1084)
  at net.java.sip.communicator.plugin.msofficecomm.Messenger<clinit>(Messenger.java:159)
  at net.java.sip.communicator.plugin.msofficecomm.MsOfficeCommActivator.start(MsOfficeCommActivator.java:36)
  at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
  at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
  at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
  at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
  at java.lang.Thread.run(Thread.java:722)

···

--
Alvaro Soliverez
Sr Software Engineer
Collabora Ltd


#2

The exception related to jmsofficecomm.dll does not represent actual
problematic behavior of the module, it is merely a statement that the
library has determined that it should better abort its loading. In the
case, that is because the library is only useful if it has been
installed by the setup and you have not used the setup, you've started
the application from source/Eclipse i.e. the library has determined
that its loading would be obsolete and has decided to abort it.

···

2013/4/10 Alvaro Soliverez <alvaro.soliverez@collabora.co.uk>:

java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required
by
C:\Users\asoliver\work\vodafone\src\jitsi\jitsi\lib\native\windows-64\jmsofficecomm.dll


#3

I see. How do I install it to run it properly?

···

On miércoles 10 de abril de 2013 13h'34:18 ART, Lyubomir Marinov wrote:

2013/4/10 Alvaro Soliverez <alvaro.soliverez@collabora.co.uk>:

java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required
by
C:\Users\asoliver\work\vodafone\src\jitsi\jitsi\lib\native\windows-64\jmsofficecomm.dll

The exception related to jmsofficecomm.dll does not represent actual
problematic behavior of the module, it is merely a statement that the
library has determined that it should better abort its loading. In the
case, that is because the library is only useful if it has been
installed by the setup and you have not used the setup, you've started
the application from source/Eclipse i.e. the library has determined
that its loading would be obsolete and has decided to abort it.

--
Alvaro Soliverez
Sr Software Engineer
Collabora Ltd