aspose file tools*
The moose likes JDBC and the fly likes JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC" Watch "JDBC" New topic
Author

JDBC

arnold stalon
Greenhorn

Joined: Jun 24, 2005
Posts: 2



Error:
-----
unable to connect.

my current directory is e:/program files/editplus/java
here my jdk directory:e:/java/jdk1.3.
how to add the ODBC drivers and JDBC drivers and where i placed it?
how to set my CLASSPATH?
how to solve this problem?

please help me.

Thank you.

[aded code tags]
[ July 06, 2005: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Arnold,
Welcome to JavaRanch!

Can you print the stack trace for the SQLException and post it here? That usually gives more details as to what the problem is.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

how to add the ODBC drivers and JDBC drivers and where i placed it?
As long as the ODBC driver is installed in windows, it will be found. You don't need to worry about it beyond ensuring it is there. The Drivers for the JDBC-ODBC bridge are included in the Sun classes and is always available when you use the Sun JDK.

Have you set up an ODBC datasource pointing to your database on your computer? Also, I'm assuming you're using an Access database?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC