This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 3825

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]
 
 
subject: Dont know how to add database driver to project classpath in Netbeans, please help