# Unable to load class: com.simba.salesforce.jdbc42.Driver

**URL:** <https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848>\
**Category:** Support\
**Created:** [December 29, 2020, 3:20pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848 "2020-12-29T15:20:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_Kushnarev](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/roman_kushnarev/32/890_2.png) [@Roman\_Kushnarev](https://community.stardog.com/u/Roman_Kushnarev)\
**Post date:** [December 29, 2020, 3:20pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848/1 "2020-12-29T15:20:49Z")

</div>

![Screenshot_1](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/1X/1dfa9d11b785589e6f1f18c4c4281f201f31b44d.png) ![Screenshot_2](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/1X/484211cf1adbdb2d321c4bbc865811c313c78920.png)

All SF parameters are correct.

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [December 29, 2020, 5:20pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848/2 "2020-12-29T17:20:45Z")

</div>

Have you added the jdbc jar to the Stardog classpath? (Via the ext directory or STARDOG\_EXT env bar directory)

Has this worked in the past and is only now not working or is this the first time you’re using it?

---

<div class="post-metadata">

**Author:** ![Roman\_Kushnarev](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/roman_kushnarev/32/890_2.png) [@Roman\_Kushnarev](https://community.stardog.com/u/Roman_Kushnarev)\
**Post date:** [December 29, 2020, 5:29pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848/3 "2020-12-29T17:29:22Z")

</div>

not yet, we just started to try the stardog, can you please share some manual on how to do that?

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [December 29, 2020, 5:46pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848/4 "2020-12-29T17:46:16Z")

</div>

There are a couple of places you can place external jars. You can create a directory in your installation directory 'server/ext' or in any directory referenced by the environment variable STARDOG\_EXT. You'll need to make sure it's set in such a way that it's set for the user who is running the stardog daemon and then put your jar in either one of the two locations. If you're in a real hurry you can put it into the server/dbms directory but then you'll be mixing stardog files with the ones you're adding. The advantage of using the environment variable is that they'll continue to work as you upgrade stardog versions.

---

<div class="post-metadata">

**Author:** ![Roman\_Kushnarev](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/roman_kushnarev/32/890_2.png) [@Roman\_Kushnarev](https://community.stardog.com/u/Roman_Kushnarev)\
**Post date:** [December 29, 2020, 6:05pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848/5 "2020-12-29T18:05:43Z")

</div>

it's not clear actually )) my general idea is to connect to Salesforce, and the only way is to do it via JDBC connection.  
I didn't find the manual on how to do this.

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [December 29, 2020, 6:23pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848/6 "2020-12-29T18:23:32Z")

</div>

The relevant section in the documentation would be [Home | Stardog Documentation Latest](https://www.stardog.com/docs/#_structured_data_virtual_graphs)

Stardog, in may cases, can not distribute third party jdbc drivers so you need to download them and make them available to Stardog before you can use them. To do this you need to download the Salesforce Simba JDBC driver and place it in the server/dbms directory or use one of the other two locations mentioned previously.

Can you be more specific about what you're having difficulty with?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [January 12, 2021, 6:23pm UTC](https://community.stardog.com/t/unable-to-load-class-com-simba-salesforce-jdbc42-driver/2848/7 "2021-01-12T18:23:32Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
