This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use native keyword in java?  RSS feed

 
harsh garg
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i want to use the functions of C programming in java what is syntax for this ?any justify answer for this?
 
Henry Wong
author
Sheriff
Posts: 23283
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not exactly a beginner's question... but the answer is... if you want to call C libs from Java, the Sun JNI tutorial can get you started.

http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!