filmov
tv
Introduction to JNI with Eclipse, GCC and MSYS2

Показать описание
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:
This video expands upon my previous video, which explained how to use the D2XX API with Visual Studio:
-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:
This video expands upon my previous video, which explained how to use the D2XX API with Visual Studio:
Introduction to JNI with Eclipse, GCC and MSYS2
JNI in Eclipse, where C and Java mix and mingle
Java Native Interface | Guide to JNI | What is JNI? | Geekific
Execute C program in Java with Java Native Interface (JNI) on Windows with Eclipse | C to Java
Execute C program in Java with Java Native Interface (JNI) on Ubuntu with Eclipse | C to Java
Tutorial of JNI use Eclipse and Visual Studio 2005
Java Native Interface (JNI) in depth -- Part 5: Configuring External Tool to Generate Header Files
Java Native Interface (JNI) in depth -- Part 4: Setting up C/C++ Development in Eclipse IDE
Creating JNI methods and header file
Use JNI on IDE (NetBeans) - For Introduce
Best Practices for Using JNI -- Part 1
Java Native Interface (JNI) in depth -- Part 37: Working with JNI and Maven
Java Native Interface (JNI) in depth -- Part 7: Eclipse External Tool Configuring for JDK 9 or later
1. Java Native Interface - What is JNI, Why do we need JNI, Components of JNI
Introducing OpenJ9 - Eclipse's new Java VM (sponsored by IBM)
Java Native Interface (JNI) in depth -- Part 46: Introduction to an 'Unsafe' class
Use JNI on Console (Terminal)
Hardcoding Issues Using JNI
Java Native Interface (JNI) in depth -- Part 28: A Simple Example of Java to C++ Library Linking
Java Native Interface (28-Hour Course)
JNI usando Eclipse Mars y Visual Studio Professional 2015
JNI Crashkurs / Tutorial - Java und C/++ verbinden
Java Native Interface (JNI) in depth -- Part 34: Mixed Development in Windows Operating System
Java Native Interface (JNI) in depth -- Part 51: Understanding Javap
Комментарии