For user defined driver, how to set java properties for incompatible JNA native library
In order to get an ODBC connection to Salesforce I think I need to know how to
- set the system property jna.nosys=true
or
- set jna.boot.library.path to include the path to the version of the jnidispatch library included with the JNA jar I am using are using.
Is there a dialog, environment variable… how do I set those?
I am using Datagrip in PyCharm 2023.2 (Professional Edition)
Build #PY-232.8660.197, built on July 26, 2023
Context:
Four years ago [this SO qa](https://stackoverflow.com/questions/51897347) said reliersoft jar works to get ODBC connection to Saleforce (not salecloud CDP) in Datagrip.
When I try defining a user driver with the Reliersoft jar, I get the error below, which gives
three possible resolutions.
I don't know how to do eitehr the second or third option. What do I clickon in datagrip (oro pytcharm)
```
DBMS: UNKNOWN (no ver.)
Case sensitivity: plain=mixed, delimited=exact
There is an incompatible JNA native library installed on this system
Expected: 5.2.0
Found: 6.1.4
(at C:\Program Files\JetBrains\PyCharm 2022.1.4\lib\jna\amd64\jnidispatch.dll).
To resolve this issue you may do one of the following:
- remove or uninstall the offending library
- set the system property jna.nosys=true
- set jna.boot.library.path to include the path to the version of the
jnidispatch library included with the JNA jar file you are using.
```
Please sign in to leave a comment.
https://youtrack.jetbrains.com/issue/IDEA-319130/Set-jna.nounpacktrue-in-IntelliJ