Projects / Java for C++

Java for C++

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
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  22 Dec 2005 03:50

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.

  •  09 Dec 2005 08:30

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.

  •  05 Dec 2005 16:51

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.

  •  30 Nov 2005 17:02

No changes have been submitted for this release.

  •  27 Nov 2005 23:39

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.

Screenshot

Project Spotlight

GNU Gatekeeper

A free H.323 gatekeeper.

Screenshot

Project Spotlight

quIRC

A clean, lightweight terminal-based IRC client.