jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes JDBC error when connecting to Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC error when connecting to Oracle" Watch "JDBC error when connecting to Oracle" New topic
Author

JDBC error when connecting to Oracle

Amit Chitre
Greenhorn

Joined: Jan 23, 2001
Posts: 2
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


Amit Chitre
Kevin Mukhar
Ranch Hand

Joined: Nov 28, 2000
Posts: 83
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC error when connecting to Oracle
 
jQuery in Action, 3rd edition