flathub / com.jetbrains.DataGrip

https://flathub.org/apps/details/com.jetbrains.DataGrip
5 stars 4 forks source link

DataGrip failing Redshift connection with "Native Library cannot be loaded. Can't obtain static method fromNative(Method, Object) from class com.sun.jna.Native". #105

Closed dunkan21 closed 1 year ago

dunkan21 commented 1 year ago

Trying to use DataGrip to connect to a Redshift database on a Windows machine. After adding two .jar files and testing the connection, it is giving the following error:

"Native Library cannot be loaded. Can't obtain static method fromNative(Method, Object) from class com.sun.jna.Native".

Not having much luck finding information on what this error indicates, or how to go about resolving the issue. Anybody seen this before or know what it is referring to?

x80486 commented 1 year ago

@dunkan21, what exactly do you mean by Trying to use DataGrip to connect to a Redshift database on a Windows machine?

If you are using DataGrip on a Windows machine to connect to Amazon Redshift this wouldn't exactly apply to the Flatpak version.

dunkan21 commented 1 year ago

Thanks for that, I was unaware that I had specified Flatpak when creating the issue. Any insight on the best forum to ask this question for Windows based OS?

x80486 commented 1 year ago

This is your starting point: https://www.jetbrains.com/help/datagrip/getting-help.html