JavaCPP provides efficient access to native C++ inside Java, not unlike the way some C/C++ compilers interact with assembly language. No need to invent new languages such as with SWIG, SIP, C++/CLI, Cython, or RPython. Instead, similar to what cppyy strives to do for Python, it exploits the syntactic and semantic similarities between Java and C++. Under the hood, it uses JNI, so it works with all implementations of Java SE, in addition to Android, Avian, and RoboVM (instructions). More specifically, when compared to the approaches above or elsewhere (CableSwig, JNIGeneratorApp, cxxwrap, JNIWrapper, Platform Invoke, GlueGen, LWJGL Generator, JNIDirect, ctypes, JNA, JNIEasy, JniMarshall, JNative, J/Invoke, HawtJNI, JNR, BridJ, CFFI, fficxx, CppSharp, cgo, pybind11, rust-bindgen, Panama Native, etc.), it maps naturally and efficiently many common features afforded by the C++ language and often considered problematic, including overloaded operators, class and function templates, etc.

Features

  • Archives containing JAR files are available as releases
  • Another option available to Gradle users is Gradle JavaCPP
  • Requires OpenJDK
  • To modify the source code, files were created for Maven
  • JavaCPP generates appropriate code for JNI, and passes it to the C++ compiler
  • Optimize code performance

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow JavaCPP

JavaCPP Web Site

Other Useful Business Software
All-Inclusive Salon Software and Spa Software Icon
All-Inclusive Salon Software and Spa Software

Ideal for resorts, spas, and salons of any size.

Purpose-built for salons, spas, and resorts, the ProSolutions Software suite offers a robust set of features and tools to help meet the ever-evolving needs of their clients. Customizable and all-inclusive, ProSolutions Software provides automated marketing, social analytics, unlimited reports, mobile apps, appointment book, client management, point of sale, inventory, DARCI (a personal assistant), online retail, online appointments, online gift cards/certificates, and so much more.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JavaCPP!

Additional Project Details

Programming Language

Java

Related Categories

Java Software Development Software, Java Browser Extensions and Plugins

Registered

2022-04-28