Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 238 Big Data Appliance
- 1.9K Data Science
- 450.2K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.8K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 154 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 437 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Which instant client for sqldeveloper-21.4.0.346.2239-x64 ?

I have to upgrade sqldeveloper to sqldeveloper-21.4.0.346.2239-x64. The last instant client I found is 21.3.0. If I use ocijdbc (thick connect) I get the following error:
java.lang.Error: Incompatible version of libocijdbc[Jdbc:214000, Jdbc-OCI:213000
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:4484)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:4479)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:504)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:1042)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:97)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:733)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:649)
...
Which client version does fit ? I did not found Oracle client 21.4.
Best Answer
-
I'm able to create thick connections with 19c Instant Client in 21.4, no problems.
Answers
-
There is no connection between the two version numbers.
I was successful using the 19.3. client, you could try the 19.13 client that is available for download on the instant client page.
-
I just tested with Instant Client 19.11 and 21.3, no conflicts.
Testing the Instant Client located at C:\OracleInstantClient\instantclient_21_3
Testing client directory ... OK
Testing loading Oracle JDBC driver ... OK
Testing checking Oracle JDBC driver version ... OK
Driver version: 21.3.0.0.0
Testing testing native OCI library load ... OK
Success!
-
I'm able to create thick connections with 19c Instant Client in 21.4, no problems.
-
I have a similar problem
On test of jdbc connection (Choose a connection, select 'Properties' and press the 'Test button') I get "Status : Failure -Test failed: Incompatible version of libocijdbc[Jdbc:214000, Jdbc-OCI:213000"
On test of the instant client I get:
"Testing the Instant Client located at C:\Oracle\Base\InstantClient_21_3
Testing client directory ... OK
Testing loading Oracle JDBC driver ... Failed:
C:\Oracle\Base\InstantClient_21_3 is not a valid jar file"
C:\Oracle\Base\InstantClient_21_3 is the directory to which I have unzipped the 21.3 instant client (WINDOWS.X64_213000_client_home.zip as downloaded from Oracle).
This is for sqldeveloper 21.4.1.349.1822 sqldeveloper-21.4.1.349.1822-no-jre.zip. Got the same behaviour with sqldeveloper-21.4.0.346.2239-no-jre
-
This issue is happening from instant client 19.x and still happens. I just installed latest available versions, instant client 21.3 and sqlcl 21.4 and it claims incompatible versions of liboci libraries. I also tried 21.3 instant client with 21.3 sqlcl with same results:
And when trying to connect without the jdbc string connection with just sqlcl /@CONNECTION_STRING, it just says "Invalid credentials". Sqlplus works without any issues, just sqlplus /@CONNECTION_STRING
Maybe is jsut a warning that should not occur.
-
I had an issue trying to connect to Oracle 19c using sqlcl 21.4 and instant client 21.3 + Oracle wallet
So the problem is in the incompatible versions of JDBC in SQLCl and JDBC in Instant client. I have downloaded JDBC version 21.13 from https://www.oracle.com/database/technologies/appdev/jdbc-ucp-21-3-downloads.html and placed it into SQLCl directory (replaced existing ojdbc8.jar) and now I am able to connect.
-
version 21.13 from https://www.oracle.com/database/technologies/appdev/jdbc-ucp-21-3-downloads.html and placed it into SQLCl directory (replaced existing ojdbc8.jar) and now I am able to connect.
This is bad, please don't do that. We expect a very specific version of the JDBC driver in our tools.
-
What is the correct way to proceed then if we want to use latest versions of sqlcl and instant client? We cannot use them without doing this kind of tricks. I remember using this trick in the past and worked for me once, but I wanted to avoid this as this should work right away.
-
Here's 21.4.2 SQLDev with Instant Client 19c (19.11)
Here's 21.4.2 with Oracle Client 21c
Now let's go into SQLcl.
This doesn't seem right, it should work. We have the same drivers/homes in both places. This smells like a bug to me, stay tuned.
-
Any news about this one? Is it a bug?