# Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc

**URL:** <https://community.gatling.io/t/exception-in-thread-main-java-sql-sqlexception-no-suitable-driver-found-for-jdbc/2411>\
**Category:** Gatling (Open-Source)\
**Created:** [July 22, 2015, 12:50am UTC](https://community.gatling.io/t/exception-in-thread-main-java-sql-sqlexception-no-suitable-driver-found-for-jdbc/2411 "2015-07-22T00:50:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tester27](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@Tester27](https://community.gatling.io/u/Tester27)\
**Post date:** [July 22, 2015, 12:50am UTC](https://community.gatling.io/t/exception-in-thread-main-java-sql-sqlexception-no-suitable-driver-found-for-jdbc/2411/1 "2015-07-22T00:50:16Z")

</div>

Hi,  
I am trying to use jdbcFeeder but getting an exception for not finding the suitable driver. I added the .jar path to CLASSPATH (also to .bash\_profile), but its not working. I am using mac for execution.

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [July 22, 2015, 5:20am UTC](https://community.gatling.io/t/exception-in-thread-main-java-sql-sqlexception-no-suitable-driver-found-for-jdbc/2411/2 "2015-07-22T05:20:13Z")

</div>

Have a look at gatling.sh and you’ll se it honors JAVA\_CLASSPATH env var, not CLASSPATH.  
Then, our build tools plugin (maven and such) don’t honor this env var as the build tool is in charge of building the classpath.
