Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC error when connecting to Oracle

 
Amit Chitre
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,
I'm running Oracle 8.0.5 on Red Hat Linux 6.1. I'm using a oci8 driver.
The driver registers fine. But when I try to establish a connection with oracle, it gives me this error:
ELF file data enconding not little-endian
I've the classes111.zip in the CLASSPATH. Any suggestions would be appreciated. Thanks.
------------------
Amit Chitre
 
Kevin Mukhar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The oci driver uses native code on the client machine. For Windows NT this file is jdbcoci8.dll and for Solaris it is liboci805jdbc.so. I am not aware of any native code library written for Linux, so I doubt you will be able to use the oci8 driver. You should be able to use the Oracle thin driver.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic