Java Setup
Fory Java artifacts are published to Maven Central. Fory core supports Java 8 and later; Java Records require Java 17 or later, and Row Format requires Java 11 or later. Keep every Fory artifact in one application on the same version.
Verify the Toolchain
java -version
mvn -version
# or: ./gradlew --version
Choose a Capability
| Capability | Artifact or tool | Continue with |
|---|---|---|
| Object Serialization | fory-core | Java object serialization, then choose xlang or native |
| Fory JSON | fory-json | Fory JSON Getting Started |
| Row Format | fory-format | Java Row Format |
| Schema and generated models | fory-compiler | Fory IDL and Compiler |
| Fory gRPC | generated companions plus gRPC Java dependencies | Java gRPC |
Each capability guide owns its exact dependency declaration and first runnable example.