snowflakedb / snowflake-jdbc

Snowflake JDBC Driver
Apache License 2.0
173 stars 163 forks source link

SNOW-349075: Upgrade JNA to support arm64-macos architecture #503

Closed jperkelens closed 1 year ago

jperkelens commented 3 years ago

JNA 5.7.0 introduces support MacOs aarch64 support. Please upgrade to that version or higher so that this can run on newer Macintosh versions.

wiipsp commented 2 years ago

How is going on this issue? I'm using M1 Mac too....

olvgrolle commented 2 years ago

JNA-5.11.0 will fix another M1 (aarch64) related bug.

Currently because of this issue snowflake-jdbc is not usable with JDK17+ on M1 aarch64 architecture. See related issue: https://github.com/snowflakedb/snowflake-jdbc/issues/533

sfc-gh-wshangguan commented 1 year ago

Hi, there is no more bundled JNA jar in Snowflake JDBC drivers since 3.12.18. Please try providing newer version of JNA jar in the class path. More details can be found at https://docs.snowflake.com/en/user-guide/jdbc-download.

About the JNA version 5.5.0 shown in pom.xml, it's provided scope, not used runtime. But we will see if we can update that version as well to avoid any potential confusions.

Thank you for the issue and comments!

sfc-gh-wshangguan commented 1 year ago

Closing the ticket since there is no activities. Also the recommended JNA version has been upgraded to 5.13.0 as per https://github.com/snowflakedb/snowflake-jdbc/pull/1255.