View Single Post
  #2 (permalink)  
Old 07-30-2007, 07:58 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Thumbs up Re: How Do I Call Java from C?

Since Java is not as of yet a true compiled language, the only way to call Java code from C in Java 1.0 is by using the system() call (or your OS's equivalent) to execute the java interpreter with appropriate command line arguments.
In Java 1.1 the Java Native Method Interface in combination with the Invocation API allows native applications to load and access the Java virtual machine
__________________
The OXYGEN
Delivers edgy, intelligent Technology to all...
Reply With Quote