This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Dont know how to add database driver to project classpath in Netbeans, please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Dont know how to add database driver to project classpath in Netbeans, please help" Watch "Dont know how to add database driver to project classpath in Netbeans, please help" New topic
Author

Dont know how to add database driver to project classpath in Netbeans, please help

Nagaraj Shivaklara
Ranch Hand

Joined: Dec 16, 2008
Posts: 77
Hi,

I am trying to use Netbeans feature to create POJO and xml files automatically but when i tried, i am getting error as "The database drivers are not added to the project classpath, Go to project properties and add".
Can you please let me know how to add and what needs to add to the classpath..

Thanks
Nagaraj


Thanks n Regards,
Nagaraj S K
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3827

Under the project do you have a "Libraries" list just as "Source Packages" etc... (It's available in NetBeans 7, may be bit different in prior versions)? If you have it then try adding your jar files there.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
jQuery in Action, 2nd edition
 
subject: Dont know how to add database driver to project classpath in Netbeans, please help