Repository navigation
v1.0.0
🚀 OpenccJNI v1.0.0
This is the first 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.0</version>
</dependency>Gradle (Kotlin DSL):
implementation("io.github.laisuk:openccjni:1.0.0")Gradle (Groovy):
implementation 'io.github.laisuk:openccjni:1.0.0'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.0-win-x64.zipopenccjni-v1.0.0-linux-x64.tar.gzopenccjni-v1.0.0-osx-x64.tar.gzopenccjni-v1.0.0-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
OpenCCconversion 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
- Initial stable release.
- Published to Maven Central.
- Bundled native libraries for Windows, Linux, and macOS.
- Added Javadoc and source jars.
🔑 Checksums
All .jar and native binaries are signed with GPG. Verify via .asc signature and checksum files published to Maven Central
.