JNI ----- java technologies interact with the dll

Jni (Java Native Interface) is the sun's java and systems to provide the native method of interactive technology (in windows \ linux system, the realization of java and the native method intermodulation).

Jvm package a variety of operating systems, while the actual differences, providing jni technology, enabling developers through java program (code) calls to the operating system-related technology to achieve the library functions, which interact with other technologies and systems, using other technologies to achieve the system's functioning; while other technologies and systems can also be provided by the corresponding native jni interface to call the java application to open within the system to achieve function.

Java Application System is built on top of jvm.

Jni for the application itself, can be seen as a proxy mode. For developers who need to use c / c + + to implement an agent (jni program) to the native function of actual operational objectives, java program is the jvm by loading and calling the jni program to indirectly target native function calls.

Jni general program development steps are as follows:

分类:Java 时间:2010-04-04 人气:329
blog comments powered by Disqus


  • JAVA interact with the DLL 2010-08-27

    jna official website address: https: / / jna.dev.java.net / First, write a DLL file used for testing: FirstDLL.h header file: #ifdef FirstDLL_API #else #define FirstDLL_API extern "C" _declspec(dllimport) #endif typedef struct{ char* userName; i

  • JNI java native interface 2010-04-06

    To learn a bit JNI, published an article I did not know what a good selection, and do not know JNI should belong to that area ^ _ ^. 1. About JNI is the Java Native Interface The acronym, which is designed to: The Standard Java class Library may not

  • A get through jni, java framework, application exercises three 2010-09-15

    A get through jni, java framework, application exercises three Daniel Wood 08/27/2010 Exercise: get a string from the jni layer, on the screen, of course, cell phone screen Requirements: 1. Need to include the three-tier structure: JNI, java framewor

  • java in the dynamic library dll called simple method of JNative 2010-08-06

    Java call DLL method is through the JNI interface, http://www.ibm.com/developerworks/cn/java/l-linux-jni/ detailed explanation here. Is probably the first to write an interface with a Java class, and then use javah to generate a xxx.h of c language h

  • jni java.lang.UnsatisfiedLinkError: Unable to load library 2010-12-14

    This is because the dll loading caused no exception. Solution to the problem is: Dll into the environment variable to the path under the directory. Shihai easy to use jni is not found guilty of a mistake dependencies so I uploaded a special package t

  • Windows下java.javaw.javaws以及jvm.dll等进程的区别 2015-03-17

    这篇文章主要介绍了Windows下java.javaw.javaws以及jvm.dll等进程的区别,本文分别讲解了它们的作用并给出代码实例,最后做出了区别总结,需要的朋友可以参考下 java ,javaw 和 javaws 的区别: 首先,所有的这些都是java的启动装置,java.exe经常使用,当使用命令行输出到window的时候,会有java.exe进程,通过任务管理器可以看到.通常 我们执行一些小的java程序的时候会有 java.exe进程在运行.javaw.exe对于我们也比较特殊,

  • java voice function calls speech.dll 2010-06-02

    Please download the source code can be run directly: main method in com \ zms \ test \ Demo.java in

  • oracle and java arrays interact through 2010-09-11

    Recently made by an array of interacting with the oracle java, java pass that array to oracle, oracle returns an array. Because a lot of resources online, and very detailed, I was at their base to be modified, and to express special thanks to the web

  • JAVA technologies and LINUX technologies 2010-06-27


iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.046 (s). 12 q(s)