• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDBC

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator



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 ]
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic