Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to connect to Sybase via JDBC

Status
Not open for further replies.

Rorbac

Programmer
Jul 15, 2002
13
LU
I'm trying to connect to a Sybase database via JDBC. (Connecting to Oracle works fine, so I take that class as model)

In Oracle, I need the file classes12.zip for
Class.forName("oracle.jdbc.driver.OracleDriver");
to work.

I know that in Sybase I need to change this to
Class.forName("com.sybase.jdbc.SybDriver");
but I don't find any file that corresponds to classes12.zip in Oracle and of course I get a java.lang.ClassNotFoundException: com.sybase.jdbc.SybDriver.

Now, everyone is talking about JConnect, and after searchig the Sybase site for nearly an hour, I was able to register and download JConnect, but that file doesn't include anything that helps me. (Is it just me or is sybase.com an example of bad site design?)

Can anyone tell me the name of the file I need, or/and tell me where to find it?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top