Decision Workspace
java-locator vs jni vs jni-sys
Side-by-side comparison of Rust crates
48
java-locator
growingv0.1.9
Locates a Java installation in the host.
68
jni
growingv0.22.4
Rust bindings to the JNI
64
jni-sys
growingv0.4.1
Rust definitions corresponding to jni.h
Core Metrics
| java-locator | jni | jni-sys | |
|---|---|---|---|
| Health Score | 48 | 68 | 64 |
| Total Downloads | 4.4M | 100.3M | 76.2M |
| 30d Downloads | 234.9K | 7.8M | 7.4M |
| Dependents | 135 | 2.7K | 351 |
| Releases | 9 | 49 | 11 |
| Last Updated | 420d ago | 11d ago | 5d ago |
| Age | 7y 1m | 9y 4m | 10y 1m |
Health Breakdown
java-locator
Maintenance
5
Quality
17
Community
8
Popularity
8
Documentation
10
jni
Maintenance
17
Quality
10
Community
18
Popularity
8
Documentation
15
jni-sys
Maintenance
16
Quality
12
Community
13
Popularity
8
Documentation
15
Technical Details
| java-locator | jni | jni-sys | |
|---|---|---|---|
| Version | 0.1.9 | 0.22.4 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 20 | 2 |
| Crate Size | 10KB | 199KB | 13KB |
| Features | 2 | 3 | 0 |
| Yanked % | 0.0% | 6.1% | 9.1% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85.0 | 1.76.0 |
| Owners | 1 | 4 | 2 |
Links
Quick Verdict
- •jni leads with a health score of 68/100, but none of the options score above 80.
- •jni is depended on by 2.7K crates — strongest ecosystem trust.
- •⚠ java-locator has not been updated in over a year.