System.loadLibrary() not present in EncoderJNI.java ? #205

Open
opened 2026-01-29 20:39:49 +00:00 by claunia · 0 comments
Owner

Originally created by @kjatin on GitHub (Jan 8, 2018).

I was trying to use the JNI wrapper but found that EncoderJNI.java file does not have a loadLibrary statement in a static block.
It does not work until I add the following piece of code:

static{ System.loadLibrary("myBrotliJNILibraryName"); }
Any particular reason for this?

Originally created by @kjatin on GitHub (Jan 8, 2018). I was trying to use the JNI wrapper but found that EncoderJNI.java file does not have a loadLibrary statement in a static block. It does not work until I add the following piece of code: ` static{ System.loadLibrary("myBrotliJNILibraryName"); } ` Any particular reason for this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#205