Introduction to JNI with Eclipse, GCC and MSYS2
Автор: upgrdman
Загружено: 27 апр. 2020 г.
Просмотров: 2 794 просмотра
This guide shows how to use Java's JNI to interact with code written in C. I show the entire process:
-Installing Java from AdoptOpenJDK.
-Installing the Eclipse IDE for Java Developers, plus the CDT and TM Terminal plug-ins.
-Installing MSYS2 with MinGW-W64.
-Setting up the PATH environment variable.
-Testing the Eclipse toolchain.
-Writing the Java portion of the JNI code.
-Writing the C portion of the JNI code.
-Writing a simple Makefile.
-Compiling the JNI code into a DLL file.
-Testing the code and benchmarking performance.
-Highlighting the performance benefits of using Java's ByteBuffers instead of byte arrays.
The JNI code written for this guide is a simple to use library for interacting with FTDI's D2XX API. Source code and notes are available on my web site:
http://www.farrellf.com/projects/soft...
This video expands upon my previous video, which explained how to use the D2XX API with Visual Studio:
• FTDI 245 FIFO Tutorial with Visual St...
http://www.farrellf.com/projects/soft...

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: