Jdbc Connection Problem


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Jdbc Connection Problem

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    5

    Question Jdbc Connection Problem

    Hi I Am New To Java And Used Quite Alot Of Databases But When I Apply The Codes For Connection To Java It Says That The Jdbc Driver Not Found I Am Using Windows Xp Sp2 Please Any Body

  2. #2
    Join Date
    Dec 2005
    Posts
    48
    You should put the jdbc driver to the run-time classpath.
    If you using windows xp,You can put it to the windows classpath



    java email verify

  3. #3
    Join Date
    Dec 2005
    Posts
    48
    Which application do you use?web application or GUI application?
    If web application,you only need copy the jdbc driver into the web-inf/lib

  4. #4
    Join Date
    Aug 2006
    Posts
    1

    Question problem with jdbc driver

    hi,

    i have made some development for j2me, but i am new to standard
    java. i want to make a connection to ms sql server through jdbc driver,
    i downloaded the driver package (sqljdbc.jar) and i dont know how to use
    it. my OS is windows 2000.

    i tried to compile with option -classpath "the path to the file", i tried to
    make it system variable and then -classpath %JDBC_Driver% and again
    it does not happen.

    can somebody give me some direction ?

    thanks,
    have a nice day everybody

  5. #5
    Join Date
    Sep 2006
    Posts
    7
    Quote Originally Posted by shamshami
    Hi I Am New To Java And Used Quite Alot Of Databases But When I Apply The Codes For Connection To Java It Says That The Jdbc Driver Not Found I Am Using Windows Xp Sp2 Please Any Body
    hi, please can u attach the exact code being used ???
    lsn the problem maybe the follwing, the exact driver class ur using is not in the same directory ur working on, or if ur developing a web applicatin using using a tomcat stuff make sure u use a .jar package of the driver files and put it in the lib folder under WEB-INF ...

    for more info, please contact me ...

    hope that i helped solving ur prob ...

Similar Threads

  1. problem in adding Data Connection
    By Thomas in forum ASP.NET
    Replies: 1
    Last Post: 03-11-2002, 04:19 PM
  2. JDBC COnnection pool
    By shiv in forum Java
    Replies: 1
    Last Post: 01-04-2002, 11:57 PM
  3. Connection Problem
    By Philipl in forum VB Classic
    Replies: 0
    Last Post: 12-14-2001, 09:08 PM
  4. Data Connection Problem
    By Scott in forum VB Classic
    Replies: 2
    Last Post: 11-03-2001, 08:10 PM
  5. Facing Problem with Database connection
    By Venkat in forum ASP.NET
    Replies: 0
    Last Post: 07-04-2001, 01:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center