Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Native Interface (JNI) in depth
Rating: 4.4 out of 5(35 ratings)
528 students
Created byMeisam Bahadori
Last updated 5/2022
English

What you'll learn

  • How to work with Java Native Interface (JNI)
  • Mixed Java/C++ Development

Course content

14 sections96 lectures38h 24m total length
  • Introduction to Java Native Interface (JNI)19:02

    Explore how the JNI enables Java to call native C/C++ libraries through a bridge, with header files, dynamic libraries, and proper library loading. Set up the workflow by adding native methods, generating JNI headers with javac -h, creating C/C++ code, building a shared library, and loading it via the -Djava.library.path VM argument.

  • Setting Up GNU C++ Compiler0:10

Requirements

  • Basic Java Programming
  • Basic C++ Programming
  • Basic Understanding of Eclipse IDE

Description

In this course, you will learn how to write java code that includes native methods, and how to bundle it with a C++ dynamic library that implements those native methods. Although the main focus is on java programming, details about C++ programming and how to link against existing native libraries are also discussed in detail. The course contents and the accompanying PowerPoint slides have been prepared with the utmost quality.

Who this course is for:

  • Software Engineers
  • Java Programmers