shailendra201 / oscats

Automatically exported from code.google.com/p/oscats
Other
0 stars 0 forks source link

Can't load IA 32-bit .dll on a AMD 64-bit platform #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.while loading ilglibjni.dll
2.
3.

What is the expected output? What do you see instead?
i am not able to run exo2.java on 64-bit

Exception in thread "main" java.lang.UnsatisfiedLinkError: 
java.lang.UnsatisfiedLinkError: no glibjni in java.library.path
java.lang.UnsatisfiedLinkError: G:\NetBeans_Projects\OSCATS1\libglibjni-0.dll: 
Can't load IA 32-bit .dll on a AMD 64-bit platform
        at oscats.bindings.Plumbing.<clinit>(Plumbing.java:89)

What version of the product are you using? On what operating system?
OSCATS 0.6, windows7 64bit

Please provide any additional information below.
I am working on OSCATS 0.6 64-bit. I have included all the dlls of 64bit but 
internally it is using the 32-bit libraries. like libintl-8.dll,libglib.dll 
internally using KERNEL32.dll and MSVCRT.dll of 32bit.

Kindly provide the soultion for this problem.

Original issue reported on code.google.com by murukutl...@gmail.com on 21 Nov 2011 at 5:41

GoogleCodeExporter commented 9 years ago
Kernel32.dll and msvcrt.dll may look like they are 32-bit, but the versions in 
\windows\system32 on 64-bit versions of windows are actually 64-bit (it's a 
very confusing naming convention).  This works for me on Windows 7 Professional 
and Java 1.7.0_01, 64-bit.

  It looks like you're using NetBeans.  Is it possible NetBeans is using a 32-bit JRE?  I would suggest double checking the system path and the java.library.path to make sure there aren't any stray 32-bit libraries possibly getting in the way.

Original comment by michael....@gmail.com on 22 Nov 2011 at 6:21