Did you like how we did? Rate your experience!

4.5

satisfied

46 votes

Can I copy JDBC driver to my Java project source, so that when I?

For Java application: Not to the source/ but to the build/lib/ folder so that it is part of the build when installing to other system. And ensure classpath is set accordingly in manifest if it is a Java application. For Java Web application: Generally server/lib/*. jar files get included in classpath by default for web application. When there are more than one app that uses the same driver then this is the folder to copy to. If the driver is specific to only to this one app then copy to WEB-INF/lib/ so that it gets built as part of .war

100%
Loading, please wait...