How to invoke a C code using java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arkaprabha
    New Member
    • Jan 2007
    • 4

    #1

    How to invoke a C code using java

    Can you tell me how to invoke a c code or a c based exe in a java code?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by arkaprabha
    Can you tell me how to invoke a c code or a c based exe in a java code?
    to invoke c code use JNI (google it if you've never heard of it before). To call a .exe use the Runtime class (look it up here in the API specs if you've never heard about it before)

    Comment

    Working...