Describe the bug
The maven artifact com.aayushatharva.brotli4j:native-windows-x86_64:1.19.0 contains a dll for AA64.
To Reproduce
Steps to reproduce the behavior:
- Download artifact jar
- Extract brotli.dll
- Run dumpbin /headers brotli.dll
- Got this output:
>dumpbin /headers brotli.dll
Microsoft (R) COFF/PE Dumper Version 14.44.35214.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file brotli.dll
PE signature found
File Type: DLL
FILE HEADER VALUES
AA64 machine (ARM64)
...
OR
- Add dependencies by Gradle:
implementation group: 'com.aayushatharva.brotli4j', name: 'brotli4j', version: '1.19.0'
runtimeOnly group: 'com.aayushatharva.brotli4j', name: 'native-windows-x86_64', version: '1.19.0'
- Do this:
Brotli4jLoader.ensureAvailability();
- Got exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to load Brotli native library
at com.aayushatharva.brotli4j.Brotli4jLoader.ensureAvailability(Brotli4jLoader.java:108)
at Main.main(Main.java:7)
Caused by: java.lang.UnsatisfiedLinkError: C:\path\com_aayushatharva_brotli4j_526979550604300\brotli.dll: Can't load ARM 64-bit .dll on a AMD 64-bit platform
Expected behavior
IDK, maybe binaries for x86_64?
Platform (please complete the following information):
- Device: x86_64
- OS: Windows 10
- Java Version 11
Describe the bug
The maven artifact com.aayushatharva.brotli4j:native-windows-x86_64:1.19.0 contains a dll for AA64.
To Reproduce
Steps to reproduce the behavior:
OR
Expected behavior
IDK, maybe binaries for x86_64?
Platform (please complete the following information):