If I use 32 bit version of java and "oci" driver to connect with Oracle then it is working fine.
If I use 32 bit version of java and "thin" driver to connect with Oracle then it shows me ablove error.
If I use 64 bit version of java and "thin" driver then also it shows me ablove error.
But if I use 64 bit version of java and "oci" driver then also system shows :
Exception in
thread "main" java.lang.UnsatisfiedLinkError: ocijdbc10 (A file or directory in the path name does not exist.)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:994)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:958)
at java.lang.System.loadLibrary(System.java:453)
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:4077)
at java.security.AccessController.doPrivileged(AccessController.java:192)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:4073)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:447)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:92)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:839)
at java.sql.DriverManager.getConnection(DriverManager.java:572)
at java.sql.DriverManager.getConnection(DriverManager.java:196)
at DataConnection.main(DataConnection.java:66)
This may help you to help me.
Thanks