This is a discussion on How Do I Call Java from C? within the C and C++ Programming forums, part of the Software Development category; How Do I Call Java from C? I need to invoke java from C...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| How Do I Call Java from C? I need to invoke java from C |
| Sponsored Links |
| |||
| 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... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| difference between call by value and call by reference | amansundar | Java Programming | 2 | 09-18-2007 01:34 AM |
| How do I call the native API from Java? | oxygen | Java Programming | 2 | 08-06-2007 08:43 AM |
| How Do I Call C Code from Java? | kingmaker | Java Programming | 2 | 08-06-2007 08:31 AM |
| Function call and System call | vigneshgets | Operating Systems | 1 | 08-01-2007 06:18 AM |
| How can I call system in C? | Sabari | C and C++ Programming | 1 | 07-17-2007 03:57 AM |