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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netBeans and JDBC driver

Status
Not open for further replies.

Netherbeast

Programmer
Jun 4, 2002
89
US
For some reason netbeans isnt recognizing the JDBC driver. Anyone have this problem too???

thanks in advance
 
Thanks for the reply.

How do you add the library?
Do you mean import java.sql*;

thanks in advance
 
no - the database specific driver, as classes14.jar for an oracle driver, jtds-... for some ms-sql-7.0 OpenSource driver, postgresql.jar for a postgres database driver and so on.

Probably a classpath issue.

seeking a job as java-programmer in Berlin:
 
thanks for the response.
I dont have the .jar files, is that something that needs to be installed as well?
The only files i have are from suns site which contain the drivers. They are .zip files only.

I dont know how to set the classpath, could you explain it real fast?

I been checking online for help as well but no one has instructions for netBeans.

Thanks in advance
 
You can obtain vendor-specific JDBC drivers from each db vendor - go to your vendor's site and search for "JDBC driver" or something, or go to this link, which has a list of drivers for each db :


Adding jar libraries to netbeans :

[ignore][/ignore]

--------------------------------------------------
Free Database Connection Pooling Software
 
Thanks everyone, sedj link helped a lot. I had to mount the .zip file.

thanks again everyone
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top