• 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!