# bytedeco/javacpp

The missing bridge between Java and native C++

Repository: https://github.com/bytedeco/javacpp
Canonical: https://ross.abutalabs.com/products/javacpp
Language: Java
License: NOASSERTION
License Family: other
Topics: javacpp, java, c, cpp, c-plus-plus, jni, maven-plugin
Last push: 2026-08-10T23:19:17+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 65, longevity 100
- inputs: {"age_days": 4517, "days_push": 23, "days_rel": 23, "gap_med": 226, "n_releases_24m": 4}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4705, forks 597 (observed 2026-08-28T04:08:57.263465+00:00)

## What it is
JavaCPP is a Java library that provides efficient access to native C++ from Java via JNI, bridging the two languages by exploiting their syntactic and semantic similarities. It includes a Maven plugin and supports Java SE, Android, Avian, and RoboVM.

## Use cases
- call C++ code from Java
- create Java bindings for a native C++ library
- avoid writing JNI boilerplate by hand
- use native libraries on Android from Java
- interoperate between Java and C++ without SWIG

## When to choose
- you need high-performance access to existing C++ libraries from Java
- you want automated JNI binding generation rather than hand-written native code
- you target multiple platforms including Android

## When to avoid
- you only need simple C bindings and prefer JNA's pure-Java approach
- your project is pure Java with no native dependencies
- you need bindings for languages other than C++

## Facets
- artifact type: library
- maturity: stable
- function: sdk, developer-tools, compiler
- domain: developer-tools, cross-platform, programming-languages
- platform: jvm, cross-platform
- tags: jni, native-interop, cpp-bindings, maven-plugin, android

## Member repositories
- bytedeco/javacpp (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.263465+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:11.017188+00:00, confidence not recorded.
  - readme: https://github.com/bytedeco/javacpp (fetched 2026-08-28T04:08:57.263465+00:00, sha 7c6793f62796)
- Data as of 2026-08-30T08:39:29.467469+00:00.
