首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Java语言与C语言的接口分析
引用本文:王崇霞,王新龙.Java语言与C语言的接口分析[J].长治学院学报,2006,23(2):29-30.
作者姓名:王崇霞  王新龙
作者单位:长治学院计算机系,山西,长治,046011
摘    要:Java语言是目前信息产业界最热门的语言,但是Java语言并不是万能的,如Java语言不能直接访问硬件,解决的方法是,可以通过Java调用由其他语言所编写的函数来实现对硬件的访问,如C或C 语言。文章通过实例介绍了一种如何实现在Java程序中调用C或C 函数的方法。

关 键 词:接口  java虚拟机  JNI  类库
文章编号:1673-2014(2006)02-0029-02
收稿时间:12 20 2005 12:00AM
修稿时间:2005年12月20

Interface Analyse on Java Language and C language
WANG Chong-xia,WANG Xin-long.Interface Analyse on Java Language and C language[J].Journal of Changzhi University,2006,23(2):29-30.
Authors:WANG Chong-xia  WANG Xin-long
Institution:Department of Computer Science, Changzhi University, Changzhi China, 046010
Abstract:The java language is the most popular language in Current information field, but the Java language is not multi - purpose, like the Java language cannot directly access the hardware. Then, the solution method is call the function through Java which compiles by other languages to implement visit to the hardware, like C or C language . This article introduced a method how to call C or C function in the Jave program through the example.
Keywords:Interface  Java Virtual Machine  Java Native Interface  class libraries
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号