JVM for AMD64 unable to load 32-bits DLL on Win64

Hi all,
I get an java.lang.UnsatisfiedLinkError while doing a System.loadLibrary() on Windows x64 (AMD64) with following message: %1 is not a valid win32 application Note the same DLL is successfully loaded by standard JVM (32-bits) on same OS.
Anyone knows this problem ?
Regards,
Laurent.

Refer to this site for solution
http://support.microsoft.com/kb/843044
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com

Similar Messages

  • Does extproc for Oracle 64-bit 11.1.0.7 on Win 2003 64-bit load 32 bit DLL?

    Hello
    Background:
    We had Oracle 11.1.0.7.0 32-bit EE on Windows 2003 32-bit EE and now migrated to 64-bit (both OS and DB) and everything worked brilliantly ok except...
    Problem:
    We used to be able to connect to an external application (Postcode Plus from AFD) via extproc to search postcodes / addresses etc. However, after the migration getting the error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unable to load DLL
    The listener.ora and tnsnames.ora configuration as exactly same as what we had on 32-bit machine (except the host name).
    For convenience, I've attached both here:
    listener.ora (on 32-bit machine):
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Oracle\product\11.1.0\db_1)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS=C:\Oracle\product\11.1.0\db_1\LIB\pcpOracle.dll:C:\Oracle\product\11.1.0\db_1\LIB\afdutl32.dll")
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\product\11.1.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.241)(PORT = 1521))
    tnsnames.ora (on 32-bit machine):
    MYDB32 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.241)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = MYDB32)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    listener.ora (on 64-bit machine):
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.247)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Oracle\product\11.1.0\db_1)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS=C:\Oracle\product\11.1.0\db_1\LIB\pcpOracle.dll:C:\Oracle\product\11.1.0\db_1\LIB\afdutl32.dll")
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\product\11.1.0\db_1)
    (PROGRAM = extproc)
    tnsnames.ora (on 64-bit machine):
    MYDB64 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.247)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = MYDB64)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Questions:
    1. Does extproc for Oracle 64-bit 11.1.0.7 on Win 2003 64-bit load 32 bit DLL?
    2. When searched got a quite of lot link about extproc32 (for all versions of UNIX), but not for Windows and found this link Extproc32 installation Does that mean it is not possible to load 32-bit DLL on 64-bit Windows installation?
    3. Is there any workarounds? Or am I stumped so I should now go back and reinstate the 32-bit installation?
    Any input / recommendation is appreciated!!
    Regards
    Kannan

    Does that mean it is not possible to load 32-bit DLL on 64-bit Windows installation?Yes,it's not possible,refer to MOS/metalink:
    Is It Possible To Call 32Bit Libraries Using External Procedure Agent Extproc On Windows 64Bit ? [ID 372512.1]
    Werner

  • Unable to load gpib-32.dll when running the visual basic 2008 program

    I installed NI-488.2 into my PC, window 7 64 bit OS.
    In the program >> project> add reference>.NET, I successfully add the NI.4882  into my visual basic  program.
    By the way, this program worked well in another window 7 32 bit PC.
    But when I run the program at ildev(BDINDEX,.........), error comes up as "unable load DLL gpib-32.dll".
    So when I looked at c:\windows\system32, I can not fine gpib-32.dll.
    Doesn't  NI-488.2 driver install gpib-32.dll?
    How can I install gpib-32.dll?

    SeongCho wrote:
    Nyc, thank you for your reply.
    By the way, I think I did all the link explained.
    So I have no problem in  adding  NI488.2 to my program's reference using "add reference".
    The problem is GPIB statement like ildev() looks for "gpib-32.dll".
    But there was no gpib-32.dll installed in "c:\windows\system32" so error comes up with "unable to load gpib-32.dll".
    I did the same procedure in my another PC(window 7 32 bit OS,my current PC is window 7 64 bit OS), and in that PC I can see the gpib-32.dll in that directory and program run without problem.
    I do not know how gpib-32.dll was installed in my previous PC.
    Thanks
    Seong
    Have you looked at the example programs for .NET that install with NI-488.2?
    You need to start thinking in terms of .NET 

  • Unable to load the support DLL (webaccess setup)

    Hi,
    I'm installing GW8 SP2 HP3. So far I've installed the domain, PO and GWIA. They work just fine. Now I'm trying to install the WebAccess agent. When I run the setup I receive the following error message:
    Unable to load the support DLL:
    C:\Users\USERNAME\AppData\Local\Temp\2\{ad3aed10-0f09-11d3-93d8-0008c7392dd7}\WAZAGB32.DLL
    When I go to that temp location, the files are all there, including the above mentioned DLL. In my forum searches I found similar messages, but they were all caused by a missing Novell Client. I have the Novell Client 2 SP1 installed. I even installed the latest IR9 update to see if that helped.
    I installed the previous hotpatch just fine (GW8SP2HP2). When I try to run the old hotpatch webaccess installer, it fails with the same error. So obviously something changed between the time I installed the previous and this hotpatch on my system. I just can't figure out what.
    Does anyone have an idea as to what might be causing this error?
    I'm running on Windows Server 2008 R2 SP1

    iwan,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Berkeley DB XML Can't load 32-bit .dll on a 64-bit platform Netbeans

    Hi I am trying to use Berkely DB in netbeans java on 64-bit windows platform. I have downloaded and configured JDK 7 32 bit in project properties. It works well for a simple java project but when i do the same for a web application in netbeans for glassfish or Apache Tomcat Servers it gives this exception
    [Servlet execution threw an exception] with root cause
    java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Oracle\Berkeley DB XML 2.5.16\bin\libdb_java48.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:1803)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1028)
         at com.sleepycat.db.internal.db_javaJNI.<clinit>(db_javaJNI.java:38)
         at com.sleepycat.db.internal.DbEnv.<init>(DbEnv.java:264)
         at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:77)
         at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:101)
    This problem was also coming before for simple java app but it resolved after configuring jdk in project properties but for web application its not working

    XML berkley db doesnt seem to support the java 64 bit model.
    In our Java application we get this error when using JRE7 but not JDK7 or JRE6
    The difference seemed to be that in JDK7 and JRE6 you can use java -D32, but thats not possible in JRE7 (you must use java -D64. So it seems to be a difference in JRE7 and JDK7 as well
    best regards,
    Tom-Erik

  • Unable to load 32 bit client on 64 bit windows 7 Enterprise

    I got a new PC at work and tried doing my oracle installs but I keep having failures on the 32 bit Oracle client install. What happens is that the install proccedes without issue until the copy files step at which it freezes at 8% progress. When I look in the oracle_home folder I find an inventory directory and nothing more. When I go to the program files or program files(x86) directory I find that the oracle directory has not been created. When I try the install with the 64 bit version I have no issues. Unfortunatelly there are a number of products that still require the 32 bit client software, such as TOAD. Does anyone have any suggestions as to what could possibly be causing this?

    Pl identify which exact version of Oracle you are installing. If you want to install both 32-bit and 64-bit versions, the ORACLE_BASE directory has to be different
    http://docs.oracle.com/cd/E11882_01/relnotes.112/e23557/toc.htm#CJADGJDB
    Pl also post the last 100 lines from the install log - http://docs.oracle.com/cd/E11882_01/install.112/e24187/ts.htm#i1090466
    HTH
    Srini

  • Unable to load MsOutlookA​pi.dll error

    BB 8330, WIN XP PRO and DM 4.7
    I just di a complete windows reinstall and a clean unistall/install of DM 4.5.
    Thanks for any help!

    I suggest that your run the Acrobat Cleaner Tool http://labs.adobe.com/downloads/acrobatcleaner.html
    then download and reinstall the latest Reader from http://get.adobe.com/reader/enterprise/

  • I keep getting this error message: ITunes was unable to load data class information from Synch Services. Reconnect or try again later. What does that mean? Can I fix it? or do I have to wait for the next update?

    I keep getting this error message: ITunes was unable to load data class information from Synch Services. Reconnect or try again later. What does that mean? Can I fix it? or do I have to wait for the next update?

    See TS2690: iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert.
    tt2

  • TS3297 "iTunes was unable to load data class information from Sync Services." What is this solution for the new phone to sync up with my iTunes acct?

    "iTunes was unable to load data class information from Sync Services." What is this solution for this new phone to sync up with my iTunes acct?

    Hi tadhunt,
    Here is an article that directly addresses that error message:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/ts2690
    I hope this helps!
    - Ari

  • "iTunes was unable to load class data information from sync services"

    I own iTunes 10.5 beta 3 64-bit for my 64-bit windows 7 pc, and it gives me this message whenever I try to sync ANY of my devices: "iTunes was unable to load class data information from Sync Services". I own an old iPod video and an iPhone 4 with iOS 5 beta 3. I've tried uninstalling all Apple products, searching through my hard drive and deleting everything Apple, cleaning the registry, EVERYTHING. I've reinstalled at least 4 times now. The problem refuses to become fixed. I've searched every article online possible, and none of the solutions have worked. Is there anything I can do to get my stuff back on to my devices???

    In the course of your troubleshooting to date, have you worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • Error on Desktop: iTunes unable to load data class information from sync services.

    Error on Desktop; iTunes unable to load data class information from sync services.

    Hi there Randall112,
    You may find the troubleshooting steps in the article below helpful.
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/ts2690
    -Griff W. 

  • ITunes was unable to load data class information from sync services.

    I get the error message "iTunes was unable to load data class information from sync services. Reconnect or try again later" after reinstalling iTunes. I cancel the message and iTunes proceeds to sync with my iPhone 4. The phone and iTunes software are the latest releases. My PC is running Windows 8.1, which had to be reinstalled after the system crashed, requiring a total reinstall of all software.

    Doublechecking. You've tried the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • Itunes was unable to load provider from sync services...

    itunes was unable to load provider from sync services... and on top of that when i click on any apps i download it looks like its going to open for a split sec and then go back to where u click the apps in the menu. from what i read they are two different bugs but i havnt came across any fixes that work

    Doublechecking ... you've also worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • Error message: "unable to load [...] from Sync Services

    I've tried resetting sync history with no avail. On the "Info" tab of the device (iPhone 4), I am unable to check the "Sync Contacts with" and "Sync Calendars with" options. Until about a week ago, it always synchronised with Outlook 2010 without a problem. What can I do to fix this?

    Hey KatanaGirl,
    Thanks for the question, and welcome to Apple Support Communities.
    The following article outlines the exact symptom you are experiencing, including a potential resolution:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/TS2690
    Thanks,
    Matt M.

  • When I connect my iphone4s to itunes on  my laptop I get this error...itunes was unable to load data class info from sync serv

    When I connect my iphone4s to itunes on  my laptop I get this error...itunes was unable to load data class info from sync serv

    In the course of your troubleshooting to date, have you worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

Maybe you are looking for

  • B2B Campaign Execution

    Hi all In email campaign execution where the target group contains BP which are Organizations the emails should go to the their respective contact person maintained in BP Relationship. Is there any specific setting which needs to be maintained for th

  • Black Ink Cartridge not working HP Photosmart 5510 series

    I replaced my black ink cartridge in my HP Photosmart 5510 series printer and it doesn't print.  I don't know how long I had the cartridge, so I went and bought a brand new cartridge and it still won't print.  I did everything the help menu said and

  • Exporting to PDF file

    Hey. I got a problem with printing a file created with Pages on my iPad. As my HP printer is not supported by Airprint, I wanted to send the file as a PDF to my MacBook (OS X Lion) and then print it there. When I opened the PDF with Preview I unfortu

  • Tablet vs. Laptop

    I am considering purchasing a tablet.  But am very confused and have lots of questions.  First.  Do I have to have a cell phone contract service in order to use my tablet?  Will my home internet service (I have a wireless router) work to access the i

  • Email Template containing approver details

    Hi all,  I am in urgent need of sending the e-mail template to the Approver for approving the request in FIM 2010 containing details as follows:- Approver's Name,Request CompletedTime and request Timeout I have already tried [//Request/ComputedActor]