In 2023, what is the easiest recommended way to call a Java class from C++? Note that the opposite is easy through JNI, JNA or JNR. Now C++ calling Java has been historically hard.

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • jni-bind

    JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up).

  • JavaToCppAndBack

    Call Java from C++ and C++ from Java with a variety of old and new projects like JNI, JNA, JNR, FFM, JExtract, GraalVM, JNI-Bind, etc.

  • I'm maintaining a GitHub repo (https://github.com/coralblocks/JavaToCppAndBack) with an assortment of examples of Java to C++ and C++ to Java integration. Below some code examples:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • JNI Bind

    1 project | news.ycombinator.com | 12 Mar 2024
  • Chat with any GPT right through your favorite text editor

    3 projects | dev.to | 27 Dec 2023
  • Java, null, and JSpecify [video link]

    1 project | /r/java | 11 Dec 2023
  • Proton Mail & VPN inaccessible over ISP

    1 project | /r/ProtonMail | 10 Dec 2023
  • Publishing to F-Droid

    6 projects | dev.to | 2 Oct 2023