[sip-comm-dev] Error while using 64 bit jdk


#1

Hi,
I currently upgraded my system to use 64 bit version of jdk6 update 16.
Earlier I used x86 version of jdk update 12.
But after upgradation I get the following error while starting and SC is
unable to detect any webcam.
I use vista 64 bit on Intel processor.

IOException in readRegistry: java.io.EOFException
23:03:29.337 WARNING: fmj.addCaptureDevices()
com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: S:\SIP
Project Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load IA
32-bit .dll on a AMD 64-bit platform
com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: S:\SIP
Project Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load IA
32-bit .dll on a AMD 64-bit platform
        at
com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:24)
        at
net.sf.fmj.media.cdp.civil.CaptureDevicePlugger.addCaptureDevices(CaptureDevicePlugger.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
net.java.sip.communicator.impl.media.device.FMJCivilVideoAuto.<init>(FMJCivilVideoAuto.java:33)
        at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectCaptureDevices(JmfDeviceDetector.java:242)
        at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.initialize(JmfDeviceDetector.java:122)
        at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.setupJMF(JmfDeviceDetector.java:390)
        at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectAndConfigureCaptureDevices(JmfDeviceDetector.java:462)
        at
net.java.sip.communicator.impl.media.device.DeviceConfiguration.initialize(DeviceConfiguration.java:88)
        at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:408)
Caused by: java.lang.UnsatisfiedLinkError: S:\SIP Project
Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load IA 32-bit
.dll on a AMD 64-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at
com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:21)
        ... 12 more
ERROR: Error starting reference:file:sc-bundles/chatalerter.jar
(org.osgi.framework.BundleException: Activator start error in bundle [47].)
java.lang.UnsatisfiedLinkError: S:\SIP Project
Related\SC-trunk\trunk\lib\native\windows\jdic_misc.dll: Can't load IA
32-bit .dll on a AMD 64-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at org.jdesktop.jdic.misc.impl.WinAlerter.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.jdesktop.jdic.misc.Alerter.loadWin(Unknown Source)
        at org.jdesktop.jdic.misc.Alerter.newInstance(Unknown Source)
        at
net.java.sip.communicator.plugin.chatalerter.ChatAlerterActivator.start(ChatAlerterActivator.java:61)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1654)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1578)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1172)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
        at java.lang.Thread.run(Thread.java:619)

···

-----
Shashank Tyagi,
Computer Science(IDD),
Part IV,
Institute of Technology,
Banaras Hindu University,
India.
+91-9651422932
+91-9235600751
shashank.tyagi.cse06@itbhu.ac.in
shashankt@acm.org

Sent from Delhi, DL, India


#2

Hi Shashank,

Thank you for the feedback!

As you've probably figured it out already from the stack trace, the
native parts of LTI CIVIL and jdic which are 32-bit specific cannot be
loaded into the 64-bit Java runtime. Since the module loaded into a
process has to match the architecture of the process, 64-bit versions
of LTI CIVIL and jdic need to be found.

Then I don't expect the whole 64-bit story to end there because we
have to at least also take care of the installer.

Could you please create an issue for it so that we can schedule it?

Regards,
Lubomir

···

On Thu, Aug 27, 2009 at 8:37 PM, Shashank Tyagi<shashank.tyagi.cse06@itbhu.ac.in> wrote:

Hi,
I currently upgraded my system to use 64 bit version of jdk6 update 16.
Earlier I used x86 version of jdk update 12.
But after upgradation I get the following error while starting and SC is
unable to detect any webcam.
I use vista 64 bit on Intel processor.

IOException in readRegistry: java.io.EOFException
23:03:29.337 WARNING: fmj.addCaptureDevices()
com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: S:\SIP
Project Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load IA
32-bit .dll on a AMD 64-bit platform
com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: S:\SIP
Project Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load IA
32-bit .dll on a AMD 64-bit platform
at
com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:24)
at
net.sf.fmj.media.cdp.civil.CaptureDevicePlugger.addCaptureDevices(CaptureDevicePlugger.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
net.java.sip.communicator.impl.media.device.FMJCivilVideoAuto.<init>(FMJCivilVideoAuto.java:33)
at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectCaptureDevices(JmfDeviceDetector.java:242)
at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.initialize(JmfDeviceDetector.java:122)
at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.setupJMF(JmfDeviceDetector.java:390)
at
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectAndConfigureCaptureDevices(JmfDeviceDetector.java:462)
at
net.java.sip.communicator.impl.media.device.DeviceConfiguration.initialize(DeviceConfiguration.java:88)
at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:408)
Caused by: java.lang.UnsatisfiedLinkError: S:\SIP Project
Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load IA 32-bit
.dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at
com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:21)
... 12 more
ERROR: Error starting reference:file:sc-bundles/chatalerter.jar
(org.osgi.framework.BundleException: Activator start error in bundle [47].)
java.lang.UnsatisfiedLinkError: S:\SIP Project
Related\SC-trunk\trunk\lib\native\windows\jdic_misc.dll: Can't load IA
32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.jdesktop.jdic.misc.impl.WinAlerter.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jdesktop.jdic.misc.Alerter.loadWin(Unknown Source)
at org.jdesktop.jdic.misc.Alerter.newInstance(Unknown Source)
at
net.java.sip.communicator.plugin.chatalerter.ChatAlerterActivator.start(ChatAlerterActivator.java:61)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1654)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1578)
at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1172)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
at java.lang.Thread.run(Thread.java:619)

-----
Shashank Tyagi,
Computer Science(IDD),
Part IV,
Institute of Technology,
Banaras Hindu University,
India.
+91-9651422932
+91-9235600751
shashank.tyagi.cse06@itbhu.ac.in
shashankt@acm.org

Sent from Delhi, DL, India

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi,
I really donno how to file an issue. Tried looking at the form but was
confused. Someone else needs to do it for now.
For my part have again shifted to x86 jre and jdk as a few other
applications were giving problems with 64 bit jre. Everythings working fine
now.

···

-----
Shashank Tyagi,
Computer Science(IDD),
Part IV,
Institute of Technology,
Banaras Hindu University,
India.
+91-9651422932
+91-9235600751
shashank.tyagi.cse06@itbhu.ac.in
shashankt@acm.org

Sent from Delhi, DL, India

On Fri, Aug 28, 2009 at 7:30 AM, Lubomir Marinov <lubomir.marinov@gmail.com>wrote:

Hi Shashank,

Thank you for the feedback!

As you've probably figured it out already from the stack trace, the
native parts of LTI CIVIL and jdic which are 32-bit specific cannot be
loaded into the 64-bit Java runtime. Since the module loaded into a
process has to match the architecture of the process, 64-bit versions
of LTI CIVIL and jdic need to be found.

Then I don't expect the whole 64-bit story to end there because we
have to at least also take care of the installer.

Could you please create an issue for it so that we can schedule it?

Regards,
Lubomir

On Thu, Aug 27, 2009 at 8:37 PM, Shashank > Tyagi<shashank.tyagi.cse06@itbhu.ac.in> wrote:
> Hi,
> I currently upgraded my system to use 64 bit version of jdk6 update 16.
> Earlier I used x86 version of jdk update 12.
> But after upgradation I get the following error while starting and SC is
> unable to detect any webcam.
> I use vista 64 bit on Intel processor.
>
> IOException in readRegistry: java.io.EOFException
> 23:03:29.337 WARNING: fmj.addCaptureDevices()
> com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: S:\SIP
> Project Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load
IA
> 32-bit .dll on a AMD 64-bit platform
> com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: S:\SIP
> Project Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load
IA
> 32-bit .dll on a AMD 64-bit platform
> at
>
com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:24)
> at
>
net.sf.fmj.media.cdp.civil.CaptureDevicePlugger.addCaptureDevices(CaptureDevicePlugger.java:37)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
net.java.sip.communicator.impl.media.device.FMJCivilVideoAuto.<init>(FMJCivilVideoAuto.java:33)
> at
>
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectCaptureDevices(JmfDeviceDetector.java:242)
> at
>
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.initialize(JmfDeviceDetector.java:122)
> at
>
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.setupJMF(JmfDeviceDetector.java:390)
> at
>
net.java.sip.communicator.impl.media.device.JmfDeviceDetector.detectAndConfigureCaptureDevices(JmfDeviceDetector.java:462)
> at
>
net.java.sip.communicator.impl.media.device.DeviceConfiguration.initialize(DeviceConfiguration.java:88)
> at
>
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(MediaServiceImpl.java:408)
> Caused by: java.lang.UnsatisfiedLinkError: S:\SIP Project
> Related\SC-trunk\trunk\lib\native\windows\civil.dll: Can't load IA 32-bit
> .dll on a AMD 64-bit platform
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
> at java.lang.Runtime.loadLibrary0(Runtime.java:823)
> at java.lang.System.loadLibrary(System.java:1028)
> at
>
com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:21)
> ... 12 more
> ERROR: Error starting reference:file:sc-bundles/chatalerter.jar
> (org.osgi.framework.BundleException: Activator start error in bundle
[47].)
> java.lang.UnsatisfiedLinkError: S:\SIP Project
> Related\SC-trunk\trunk\lib\native\windows\jdic_misc.dll: Can't load IA
> 32-bit .dll on a AMD 64-bit platform
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
> at java.lang.Runtime.loadLibrary0(Runtime.java:823)
> at java.lang.System.loadLibrary(System.java:1028)
> at org.jdesktop.jdic.misc.impl.WinAlerter.<init>(Unknown Source)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at org.jdesktop.jdic.misc.Alerter.loadWin(Unknown Source)
> at org.jdesktop.jdic.misc.Alerter.newInstance(Unknown Source)
> at
>
net.java.sip.communicator.plugin.chatalerter.ChatAlerterActivator.start(ChatAlerterActivator.java:61)
> at
>
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1654)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1578)
> at
> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1172)
> at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
> at java.lang.Thread.run(Thread.java:619)
>
> -----
> Shashank Tyagi,
> Computer Science(IDD),
> Part IV,
> Institute of Technology,
> Banaras Hindu University,
> India.
> +91-9651422932
> +91-9235600751
> shashank.tyagi.cse06@itbhu.ac.in
> shashankt@acm.org
>
>
> Sent from Delhi, DL, India

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net