Java for C++ is a tool that generates C++ wrapper classes for existing Java classes. It reads a list of Java class names and creates source code for C++ classes to wrap them. The implementation of the wrapper classes uses JNI (Java Native Interface) to call the "real" Java classes. The C++ API to use these wrapper classes is very close to the API of the original Java classes, so developers of C++ software can use Java classes as if they have been implemented in C++.
| Tags | Software Development Code Generators |
|---|---|
| Licenses | GPL |
| Operating Systems | OS Independent |
| Implementation | C++ Java |
Recent releases


Release Notes: A problem where null values for method arguments, method return values, or field values caused some generated code to crash was fixed. Updating is strongly encouraged.


Release Notes: This release adds some templates for Makefiles and runscripts. These files ease the process of creating C++ wrapper classes, including the generated C++ classes in your own project, and starting the resulting application.


Release Notes: The generated code now uses namespaces (java::lang::Integer) instead of ugly long class names (java_lang_Integer). Ant build files have been added for easier compilation.


No changes have been submitted for this release.


Release Notes: This version already generates fully working C++ classes and has been tested by using HBCI4Java from C++ applications. There are still some problems with binary string data and with multi-dimensional arrays.