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

2010-04-04  来源:本站原创  分类:Java  人气:332 

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:

相关文章
  • JNI ----- java technologies interact with the dll 2010-04-04

    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, w

  • 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

    http://flatfish2000.javaeye.com/blog/425196

  • The use of serial port, serial port telecommunications project in the use of actual development and deployment [Back Qinbo detailedly induction] 2010-08-26

    Recently, many users come here to ask telecom serial writing of the actual development of how to spell, and now I put a write up, for your reference. Want to know if there are more fine plus I QQ bar, 444 084 929 back Qinbo package huiqinbo.telecom;

  • java jni dll call transfer 2010-07-10

    http://www.javaeye.com/topic/304594 Currently java and dll interactions are mainly three kinds of technology: jni, jawin and jacob. Jni (Java Native Interface) is the sun java and the system provides the native methods of interactive technology (in w

  • Usage java JNI transfer c / c + + cpp file link dll files 2010-11-06

    The characteristics of its cross-platform JAVA loved by the people, but precisely because it is the purpose of cross-platform, making it all the internal links of the local machine to become small, constrained by its function. JAVA on the local opera

  • java calling c (c + +) to write the dll files and steps for implementation (transfer) 2010-03-29

    JNI using the skills bit by bit in this 32-bit Windows platform, Java native methods to achieve provides a useful example of the steps and guidelines. The examples in this article was created using Sun Microsystems's Java Development Kit (JDK) versio

  • JAVA through JNI call to the local C language method (transfer) 2010-07-09

    JAVA language through the JNI method call to the local C JAVA for its cross-platform features a much-loved, but precisely because of its cross-platform, it makes it all the internal links of local machine to become small, constrained its function. JA

  • JNI to access java object method 2010-11-09

    Learn about JNI, when an article does not know what to choose good, do not know should belong to the category JNI ^ _ ^. 1. About JNI is the Java Native Interface of the abbreviation, it is designed to: The standard Java class Library may not Support

  • JAVA中JNI的简单使用分享 2014-05-09

    这篇文章介绍了JAVA中JNI的简单使用,有需要的朋友可以参考一下 了解JNI:JAVA因其跨平台特性而受人们喜爱,也正因此,使得它和本机各种内部联系变得很少,所以JNI(Java Native Interface)就是用来解决JAVA本地操作的一种方式.JAVA通过JNI调用本地方法,而本地方法是以库文件的形式存放的(在WINDOWS平台上是DLL文件形式,在UNIX机器上是SO文件形式).通过调用本地的库文件的内部方法,使JAVA可以实现和本地机器的紧密联系,调用系统级的各接口方法. 步骤如

  • Java调用.dll文件的方法 2014-08-22

    因为项目的需求,要在JAVA项目中调用Windows的Dll(动态链接库)文件,之前用Jni调用过C写的Dll文件,比较麻烦,这里不多说,网上也有很多这方面的文档.在网上找到一个开源的组件JNative,使用后感觉比较方便 下截JNative组件 jnative.sourceforge.net/ 到这里下载JNative开源项目,我下载的是1.3.2 解压JNative-<st1:chsdate isrocdate="False" islunardate="False&

  • Java进阶:JNI使用技巧点滴 2015-02-07

    文章来源:csdn 作者:normalnotebook 摘要 本文为在 32 位 Windows 平台上实现 Java 本地方法提供了实用的示例.步骤和准则.本文中的示例使用 Sun Microsystems 公司创建的 Java Development Kit (JDK) 版本 1.4.1.用 C 语言编写的本地代码是用 Microsoft Visual C++ 编译器编译生成. 简介 近日,由于项目需要,要在WEB页面实现图像转换功能,而VC在图像转换方面有着得天独厚的优势.我们首先用VC封

  • java调用dll或so动态库文件(c++/c) 2013-08-30

    java调用dll或so动态库文件(c++/c)开发平台:Eclipse3.3.1.1+CDT(cdt-master-4.0.3)+MinGW(MinGW-5.1.4) 一:下面是java调用dll(C++) 1:下载并安装cdt :http://www.eclipse.org/cdt/downloads.php :选择自己eclipse 支持的cdt插件,下载,并且 通过eclipse-->software update-->find and install 安装cdt 2:下载并安装min