Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a total newbie in Oracle.

I installed Oracle 11g XE R2. Also I installed SqlDeveloper version.

I generated auto connections, and I have 2 connections. One is: /as sysdba and another: system-XE

I successfully connect to system-XE, but when I try to connect as sysdba in SQLdeveloper (in same time I can connect trough SQL command line) I get this error:

java.lang.Error: Incompatible version of libocijdbc[Jdbc:112030, Jdbc-OCI:112020
at oracle.jdbc.driver.T2CConnection$
at Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(
at oracle.jdbc.driver.T2CConnection.logon(
at oracle.jdbc.driver.PhysicalConnection.<init>(
at oracle.jdbc.driver.T2CConnection.<init>(
at oracle.jdbc.driver.T2CDriverExtension.getConnection(
at oracle.jdbc.driver.OracleDriver.connect(
at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(
at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(
at oracle.dbtools.raptor.dialogs.conn.ConnectionPrompt.promptForPassword(
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(
at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(
at oracle.javatools.db.DatabaseFactory.createConnection(
at oracle.javatools.db.DatabaseFactory.createDatabase(
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(
at oracle.dbtools.raptor.utils.Connections.getConnection(
at oracle.dbtools.raptor.utils.Connections.getConnection(
at oracle.dbtools.raptor.navigator.DatabaseConnection.openConnectionImpl(
at oracle.dbtools.raptor.navigator.AbstractConnectionNode.getConnection(
at oracle.dbtools.raptor.navigator.ConnectionFilter.getFactory(
at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(
at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(
at java.util.concurrent.FutureTask$Sync.innerRun(
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$

any help would be really appreciated since now I was searching for the solution almost 3 hours.

share|improve this question

migrated from Jul 15 '13 at 10:02

This question came from our site for professional and enthusiast programmers.

Try upgrading Java to latest version, there are some incompatibilities, according to your log. – David Jashi Jul 14 '13 at 20:37
I have Version 7 Update 25 so :/ – julie smith Jul 14 '13 at 20:39
How are you trying to connect? Can you provide a minimal example of code that causes this error? – Ben Jul 14 '13 at 21:01
I have default OS authentication for sysdba, and I only tried to connect as usual in SqlDeveloper. It works for other connections, but not for the sysdba since it it OS authentication (probably that is the resion). – julie smith Jul 14 '13 at 21:03

The first error message seems to be reasonably clear:

java.lang.Error: Incompatible version of libocijdbc[Jdbc:112030, Jdbc-OCI:112020

For whatever reason, the version of libocijdbc which is being found (apparently version 112020) is not compatible with the jdbc version found (112030). You might want to consider tracking down version 112030 of libocijdbc, or switching things around so that version 110230 of libocijdbc is found first.

Share and enjoy.

share|improve this answer
It's not reasonably clear if you don't even have a JAR by that name anywhere that the program could find it. It doesn't even tell you what it actually incompatible with what else. – jpmc26 Jan 9 '15 at 17:41


... 1. create tnsnames.ora file

  1. Open SQL Developer and set tnsnames directory tools->Preferences->Database->advanced->Tnsnames Directory

  2. In SQL Developer, UNCHECK: tools->Preferences->Database->advanced->use oci/thick driver

  3. new connection connection type TNS -> Network Alias (pick from list)

  4. try connection ...

share|improve this answer
up vote 0 down vote accepted

I've solved it. In the sqldeveloper/jdbc/lib folder replace the ojdbc6dms.jar and ojdbc6.jar files with the same files, but version Oracle Database 11g Release 2 ( JDBC Drivers :)

share|improve this answer

I got the same error and figured out that I was using different TNS network alias and connector identifier. Check those first

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.