nixxcode / jvm-brotli

Lightweight, cross-platform Java library for the Brotli compression format
72 stars 10 forks source link

Not working on Wndows 10 #39

Open ashish-sharma09 opened 3 years ago

ashish-sharma09 commented 3 years ago

Hi,

Our Application generally seems to work fine with Windows 10 version, however on one particular machine having windows 10, the BrotliLoader.isBrotliAvailable method returns "true", however when trying to decode a Brotli encoded string, it throws following error:

com.nixxcode.jvmbrotli.enc.EncoderJNI.nativeCreate([J)Ljava/nio/ByteBuffer;

Platform: OS Name: Microsoft Windows 10 Enterprise 2016 LTSB OS Version: 10.0.14393 N/A Build 14393

Any insight will be really useful, could it possibly be to do something with linkng loaded Brotli library to native library.

we have following jars available in classpath to BrotliLoader:

jvmbrotli-0.2.0.jar jvmbrotli-linux-x86-amd64-0.2.0.jar jvmbrotli-win32-x86-0.2.0.jar jvmbrotli-win32-x86-amd64-0.2.0.jar

Any quick pointers to fix this will be highly appreciated.

ashish-sharma09 commented 3 years ago

JVM version is: java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) Client VM (build 25.121-b13, mixed mode, sharing)