Download Latest Version CShimToJava-1.0.zip (59.3 kB)
Email in envelope

Get an email when there's a new version of C To Java Shim Generator

Home
Name Modified Size InfoDownloads / Week
README.md 2013-07-17 1.0 kB
CShimToJava-1.0.zip 2013-07-17 59.3 kB
Totals: 2 Items   60.3 kB 0

Description

This is a tool that generates a C shim class that can start a JVM and invoke methods in a Java class. The tool was developed to simplify writing hybrid Java/C applications that have a C-based "main" application. Doing this manually can be time consuming and error prone if there are many methods.

The generated shim:

  • Handles starting/stopping a Java virtual machine (JVM)
  • Has one method for each static method in the corresponding Java class. Only public static class methods are handled. All the exposed methods should be in a single Java class.
  • Converts method arguments and return values to/from Java (see supported types below)
  • Creates intermediate and return arrays and buffers as needed
  • Can prepend a specified prefix to generated method names to avoid name conflicts with other parts of the C source.

Project Home

C Shim To Java

Change History

1.0.0

  • Initial Release
Source: README.md, updated 2013-07-17