windows - How to start Oracle SQL Developer 4 using 32 bit JDK on Win 64? -
i need connect database , use wallet file. if try sql developer end "ocijdbc.dll: cant load ia 32bit .dll on amd 64-bit platform."
i have both installed jdk 32 bit (in c:prog32bit) , jdk 64 bit (c:prog) development.
i tried set javahome in sqldeveloper/bin/sqldeveloper.conf manually setjavahome c:\program files (x86)\java\jdk1.7.0_51
my next step edit %user_home%/sqldeveloper/sqldeveloper.conf , set setjavahome there too, none didn't work.
next step was, edited sqldeveloper/bin/sqldeveloper.bat , set:
java_home="c:\program files (x86)\java\jdk1.7.0_51" path="c:\program files (x86)\java\jdk1.7.0_51\bin%" java.exe -xmx640m -xms128m -xveri....
my last try use command line (as on linux) , run:
d:\sqldeveloper>path="c:\program files (x86)\java\jdk1.7.0_51\bin" d:\sqldeveloper>java -version java version "1.7.0_51" java(tm) se runtime environment (build 1.7.0_51-b13) java hotspot(tm) client vm (build 24.51-b03, mixed mode, sharing) d:\sqldeveloper>sqldeveloper.exe
but still receive message sqldeveloper running 64 bit java.
i found workarround. older version of sql developer (bundeld jdk) available @ http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/sqldev-downloads-v322-2080107.html
the main problem in case have installed 32 bits oracle driver connect database in 64 bit machine. there no problem need set setjavahome jdk directory contains 32 bits version.
in sqldeveloper 4 need edit file:
"c:\users\username\appdata\roaming\sqldeveloper\1.0.0.0.0\product.conf"
and inside config file change default directory jdk1.7.0_71 32 bits this:
setjavahome c:\program files (x86)\java\jdk1.7.0_71
after use path, check in task manager process sqldeveloper looks this: sqldeveloper.exe *32
if process starts "*32" able connect using 32 bits oracle driver.
Comments
Post a Comment