My Oracle Support Banner

Oracle Client (32-Bit) 12.1.0.2 Install on 64-Bit OS fails with "%ORACLE_HOME%\BIN\oranjni12.dll: %1 is not a valid Win32 application" (Doc ID 2651894.1)

Last updated on MARCH 24, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Installing Oracle Client (32-Bit) 12.1.0.2 on 64-Bit OS fails during NETCA step as below-

INFO: Started Plugin named: Oracle Net Configuration Assistant
INFO: Found associated job
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: NetCAInternalPlugIn: ... adding </ouiinternal>
INFO: Executing NETCA
INFO: Command C:\Windows\system32\cmd /c call %ORACLE_HOME%\bin\netca.bat /orahome %ORACLE_HOME% /orahnam OraClient12Home1_32bit /instype typical /inscomp client,oraclenet,ano /insprtcl tcp,nmp /cfg local /authadp NO_VALUE /responseFile %ORACLE_HOME%\network\install\netca_clt.rsp /silent    /ouiinternal /maskPasswords false
INFO: ... GenericInternalPlugIn.handleProcess() entered.
INFO: ... GenericInternalPlugIn: getting configAssistantParmas.
INFO: ... GenericInternalPlugIn: checking secretArguments.
INFO: No arguments to pass to stdin
INFO: ... GenericInternalPlugIn: starting read loop.
INFO: Read: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Stderr Read: java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
INFO: Stderr Read: at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
INFO: Stderr Read: at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
INFO: Stderr Read: at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
INFO: Stderr Read: at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
INFO: Stderr Read: at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
WARNING: Skipping line: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Stderr Read: at oracle.net.ca.NetCA.main(NetCA.java:433)
INFO: End of argument passing to stdin
INFO: Read: java.lang.UnsatisfiedLinkError: %ORACLE_HOME%\BIN\oranjni12.dll: %1 is not a valid Win32 application
WARNING: Skipping line: java.lang.UnsatisfiedLinkError: %ORACLE_HOME%\BIN\oranjni12.dll: %1 is not a valid Win32 application
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read:
WARNING: Skipping line:
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Error: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
WARNING: Skipping line: Error: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Oracle Net Services configuration failed.  The exit code is 1
WARNING: Skipping line: Oracle Net Services configuration failed.  The exit code is 1
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.

Changes

 Issue recurs even after installing VC 2010 redist (x86 and x64 both).
 Even Instant Client Executable-genezi.exe was also failing with same error

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.