Skip to content

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 04 Oct 11:37
· 111 commits to master since this release

🚀 OpenccJNI v1.0.2

This is the stable release of OpenccJNI, providing Java bindings to the OpenCC + FMMSEG library with native runtimes for Windows, macOS, and Linux.

📦 Maven Central

Add the dependency in your pom.xml:

<dependency>
  <groupId>io.github.laisuk</groupId>
  <artifactId>openccjni</artifactId>
  <version>1.0.2</version>
</dependency>

Gradle (Kotlin DSL):

implementation("io.github.laisuk:openccjni:1.0.2")

Gradle (Groovy):

implementation 'io.github.laisuk:openccjni:1.0.2'

Artifacts are available on Maven Central.

🔽 Native runtime packages

If you need standalone native libraries (for non-Maven use cases), download from Assets below:

  • openccjni-v1.0.2-win-x64.zip
  • openccjni-v1.0.2-linux-x64.tar.gz
  • openccjni-v1.0.2-osx-arm64.tar.gz

Each package contains the prebuilt JNI wrapper (OpenccWrapper.dll/.so/.dylib) and required OpenCC dictionaries.

✨ Features

  • Java API with thread-safe native wrapper (ThreadLocal<OpenccWrapper>)
  • Support for all official OpenCC conversion configs (s2t, t2s, s2tw, tw2s, s2twp, tw2sp, s2hk, hk2s, t2tw, t2twp, t2hk, tw2t, tw2tp, hk2t, t2jp, jp2t)
  • Auto-loads native runtime per platform via NativeLibLoader
  • Runs on Java 8+ (tested on Java 8, 11, 17, 21)

📝 Changelog

  • Bundled native libraries for Windows, Linux, and macOS.
  • Update opencc-fmmseg natives to v0.8.2

Full Changelog: v1.0.1...v1.0.2

🔑 Checksums

All .jar and native binaries are signed with GPG. Verify via .asc signature and checksum files published to Maven Central
.