6.1. Overview

This chapter provides detailed information about the interfaces between Java and C/C++ as well as Matlab, based on actual examples. The purpose of this chapter is to illustrate how to connect Java with some different languages (native languages), and how to interface between them to satisfy customers' requirements for special implementations and applications in real projects.

The chapter is divided into six sections. First, a simple example illustrates the basic environment and tools needed to develop an interface between Java and C/C++ by using Java Native Interface (JNI), which is a tool supplied by the Java Software Development Kit (SDK). Second, a more complicated example explains the functionalities and tools used in the development ...

Get Applications Interface Programming Using Multiple Languages: A Windows® Programmer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.