JAVA API

CAN ANY BODY TELL THE RELATION OF JAVA AND C THAT WHERE IT INTEGRATE WITH C AT RUNTIMEAS I HAV NOTICED THAT JVM ENVIORMENT STARTS FRM C ONLY MEANS THIER ARE SOME HEADER FILES.I HAVE KEEN INTEREST IN STUDYING THEM KINDLY HELP FROM WHERE TO START FROM
[277 byte] By [tejdeepsingh] at [2007-9-26 1:25:48]
# 1

Yes, there is a way to communicate with OS/HW and it is done in C/C++. This is called JNI (Java Native Interface) and allows programmer to write native libraries and call their methods from a java application. The native libs themself can also call java api.

The best resource for getting started with jni is http://java.sun.com/docs/books/tutorial/native1.1/index.html

v.pavlov at 2007-6-29 1:07:47 > top of Java-index,Archived Forums,New To Java Technology Archive...