swiftlang/swift-java
Java interopability support for Swift observed · 2026-09-03
Health v2 · maintenance only
89/100
- Activity 100
- Release rhythm 96
- Longevity 50
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12
- age_days: 708
- days_rel: 24
- days_push: 0
- n_releases_24m: 10
Adoption not part of the score
1247 stars · 122 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A set of tools and libraries from Apple's swiftlang org enabling Swift and Java interoperability. It includes the SwiftJava library with macros for calling Java from Swift via JNI, and the swift-java tool for generating bindings in either language.
Use cases
- call Java libraries from a Swift program
- generate Swift bindings for Java classes
- generate Java bindings for Swift code
- write JNI code without manual boilerplate
- integrate Swift and Java in the same project
When to choose
- you need to mix Swift and Java code in one application
- you want automated binding generation between Swift and Java
- you're on Swift 6.2+ with JDK 17+ and need language interop
When to avoid
- you need a stable, published Maven dependency - supporting libraries must be self-published locally
- you're on Swift versions older than 6.2
- you need interop with other JVM languages like Kotlin beyond Java APIs
Facets
library · maturity active
sdk parser developer-tools programming-languages developer-tools cross-platform jvm windows cross-platform swift-java-interop jni bindings-generator language-interop swift macos linux
1 source
- readme: https://github.com/swiftlang/swift-java · fetched 2026-09-03 · e0014a354b8f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swiftlang/swift-java | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="swiftlang/swift-java")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem